There is a slight bug in the changes we made in #3601364: Queued files in key-value store are not properly deleted that can lead to a fatal error:

      $fallback_collection = $this->keyValue->get(FilesExtractor::FALLBACK_QUEUE_KV);
      $queued_files = $fallback_collection->get($data->fid);
      unset($queued_files[$data->entity_type][$data->entity_id]);
      $queued_files = array_filter($queued_files);

If the fallback collection for the file is empty, then $queued_files will be NULL so array_filter() will produce a TypeError.

Sorry for being sloppy there!

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

drunken monkey created an issue. See original summary.

drunken monkey’s picture

Status: Active » Needs review

Should be fixed in this MR.

Again, my apologies for this mistake!

izus’s picture

Status: Needs review » Fixed

This is now merged and released
thanks

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

izus’s picture

Status: Fixed » Closed (fixed)