Problem/motivation

This possibly happens because of media_entity_download which relies on the BC layer at the moment. the attributes option is null, which is then set, and then later on it tries to merge an array and NULL.

Steps to reproduce

With media_entity_download enabled and configured, set up a media link and try to display it.

Proposed resolution

Issue fork linkit-3428696

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

Berdir created an issue. See original summary.

berdir’s picture

Status: Active » Needs review

Created a merge request

mark_fullmer made their first commit to this issue’s fork.

  • mark_fullmer committed 2b3d525d on 6.1.x authored by Berdir
    Issue #3428696: TypeError: Unsupported operand types: array + null in...
mark_fullmer’s picture

Status: Needs review » Fixed

Thanks, Berdir!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

esod’s picture

Confirming this patch solved the problem when applied to v6.1.3 after upgrading from v6.1.2. Thanks.