- Issue created by @joachim namyslo
After Dowenloading and enabeling the module there is a new media type for adding og previews by entering a url.
When entering a url and hit save there is a wsod comming up and the following message is showing in the error.log.
Testet with Drupal Core 11.2.2
on Apache 2
PHP 8.3
Ubuntu 22.04
AH01071: Got error 'PHP message: Uncaught PHP Exception TypeError: "Drupal\\Component\\Utility\\Html::escape(): Argument #1 ($text) must be of type string, null given, called in /var/www/cms/web/core/lib/Drupal/Core/Utility/LinkGenerator.php on line 199" at /var/www/cms/web/core/lib/Drupal/Component/Utility/Html.php line 433', referer: https://drupal-tv.de/media/add/link_preview
[Mon Aug 04 20:57:05.951637 2025] [proxy_fcgi:error] [pid 516076:tid 516126] [remote 91.41.178.95:60917] AH01071: Got error 'PHP message: Uncaught PHP Exception TypeError: "Drupal\\Component\\Utility\\Html::escape(): Argument #1 ($text) must be of type string, null given, called in /var/www/cms/web/core/lib/Drupal/Core/Utility/LinkGenerator.php on line 199" at /var/www/cms/web/core/lib/Drupal/Component/Utility/Html.php line 433', referer: https://drupal-tv.de/media/add/link_preview
[Mon Aug 04 20:57:33.756761 2025] [proxy_fcgi:error] [pid 516076:tid 516115] [remote 91.41.178.95:60917] AH01071: Got error 'PHP message: Uncaught PHP Exception TypeError: "Drupal\\Component\\Utility\\Html::escape(): Argument #1 ($text) must be of type string, null given, called in /var/www/cms/web/core/lib/Drupal/Component/Render/FormattableMarkup.php on line 238" at /var/www/cms/web/core/lib/Drupal/Component/Utility/Html.php line 433',
Active
1.0
Code