symfony/demo

An exception has been thrown during the rendering of a template

Closed this issue · 2 comments

An exception has been thrown during the rendering of a template ("Symfony\Component\String\u(): Argument #1 ($string) must be of type ?string, Symfony\Component\String\UnicodeString given, called in /var/www/vhosts/mydomain.com/src/Twig/SourceCodeExtension.php on line 177").

stof commented

Please provide the stack trace of the exception (and of any previous exception) to make it easier to debug.

If you are seeing the default exception page of Symfony, there is a Stack Trace tab (or Stack Traces in case of multiple exceptions) that provides the info in a text format suitable for copying and pasting it in a GitHub issue (in a markdown code block to be readable)

Closing for the reasons explained in #1560 (comment).