Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Recoverable fatal error: Object of class Drupal\Core\Url could not be converted to string in Drupal\Component\Utility\SafeMarkup::isSafe() (line 94 of core/lib/Drupal/Component/Utility/SafeMarkup.php).
Comment | File | Size | Author |
---|---|---|---|
views.patch | 1.14 KB | devpreview | |
Comments
Comment #1
dawehnerThe fix looks great, but I fear we need some form of test coverage here.
Comment #2
jibranThis is a shame we can't use Url object as a placeholder. I made this mistake a lot of times.
Comment #3
dawehnerIt used to work, but if an exception is thrown inside the magic __toString(), good luck!
Comment #4
dawehner#2472421: Entity reference, views filter reference method is broken.