- Issue created by @kensae
- Status changed to Closed: outdated
about 1 month ago 1:22pm 18 October 2024
When creating a media Image in the Media content overview with focal point enabled, I get the following error:
TypeError: array_diff(): Argument #1 ($array) must be of type array, null given in array_diff() (line 242 of /data/sites/web/opendevbe/subsites/catalisti.opendev.be/releases/20240321131456/www/modules/contrib/media_library_media_modify/media_library_media_modify.module).
I fixed this by checking if the class array on the $preview_link_attributes exists.
Active
1.0
Code