Runtime Assertion Failure -> \Drupal\Core\Template\TwigExtention->getLink() 1st argument is string.

Created on 26 August 2015, over 9 years ago
Updated 7 April 2024, 9 months ago

According to the documentation the first argument of Drupal\Core\Template\TwigExtension->getLink should always be a string. NULL given in 10 failing tests. I haven't checked the tests yet so I don't know if they are checking for failure behavior, or if the documentation is wrong and NULL is a legal argument (at a glance this doesn't look like the case).

(Note - tests will fail since they are PHPUnit tests, which are unaffected by the .htaccess setting).

🐛 Bug report
Status

Closed: outdated

Version

11.0 🔥

Component
Theme 

Last updated 37 minutes ago

Created by

🇺🇸United States Aki Tendo

Live updates comments and jobs are added and updated live.
  • Runtime assertion

    It deals with the addition of an assert() statement(s) to the code, and/or contains a test patch where one is failing indicating a need to change code or the documentation the statement was based on.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024