Hi, when I go to "admin/reports/config-inspector" page I receive a 500 error page. In my web error log I see this:
my_drupal | NOTICE: PHP message: Recoverable fatal error: Object of class Drupal\Core\Link could not be converted to string in /var/www/html/core/lib/Drupal/Component/Utility/Xss.php on line 67 #0 /var/www/html/core/includes/bootstrap.inc(587): _drupal_error_handler_real(4096, 'Object of class...', '/var/www/html/c...', 67, Array)
my_drupal | #1 [internal function]: _drupal_error_handler(4096, 'Object of class...', '/var/www/html/c...', 67, Array)
my_drupal | #2 /var/www/html/core/lib/Drupal/Component/Utility/Xss.php(67): str_replace('\x00', '', Object(Drupal\Core\Link))
my_drupal | #3 /var/www/html/core/lib/Drupal/Core/Render/Renderer.php(753): Drupal\Component\Utility\Xss::filter(Object(Drupal\Core\Link), Array)
my_drupal | #4 /var/www/html/core/lib/Drupal/Core/Render/Renderer.php(384): Drupal\Core\Render\Renderer->ensureMarkupIsSafe(Array)
my_drupal | #5 /var/www/html/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false)
my_drupal | #6 /var/www/html/core/lib/Drupal/Core/Template/TwigExtension.php(501): Drupal\Core\Render\Renderer->render(Array)
my_drupal | #7 /var/www/html/vendor/twig/twig/src/Environment.php(497) : eval()'d code(195): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
my_drupal | #8 /var/www/html/vendor/twig/twig/src/Template.php(427): __TwigTemplate_066f953c483c6535a0daf359ff549bb6b892ef0edda470e36db70377941501e9->doDisplay(Array, Array)
I have this problem only on this url.
This site is a new site. No new content.
Thanks.
M.
Comment | File | Size | Author |
---|---|---|---|
#5 | 3084666-4.patch | 1.4 KB | vuil |
#3 | 3084666-3.patch | 1.06 KB | idebr |
Comments
Comment #2
FatherShawnI have this same issue with 8.x-1.0 in core 8.7.7 and PHP 7.2.
Comment #3
idebr CreditAttribution: idebr at ezCompany commented#2684383: Allow download of configuration files introduced an invalid Link to the Config inspector report page. Attached patch fixes the Link generation, so the page renders properly.
Comment #4
vuilPlease remove the non-used use statement.
Comment #5
vuilComment #7
vuilComment #9
imclean CreditAttribution: imclean at Digital Ink commentedThanks, I'm now using the dev version. I think this issue alone would be worth a release.
Comment #10
GrimreaperHello,
I just got this bug too.
+1 for a new release.