- Issue created by @vladutstoicoiu
The patch "https://drupal.org/i/3008292 - Upload via Media Library field widget does not take all upload validators in account": "etc/patches/drupal/core/3008292-76.patch" is breaking the site when the user tries to add a media entity of type image.
On an installation using the dropsolid_rocketship distribution try to add a media entity of type image (/media/add/image) and the following error will be displayed:
The website encountered an unexpected error. Try again later.
TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, array given in htmlspecialchars() (line 437 of core/lib/Drupal/Component/Utility/Html.php).
The patch contains an update that fixes this issue. Replace the local file with the new updated patch.
Active
10.2
Code