Skip to content

An exception has been thrown during the rendering of a template #1559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lxregistry opened this issue Jan 28, 2025 · 2 comments
Closed

An exception has been thrown during the rendering of a template #1559

lxregistry opened this issue Jan 28, 2025 · 2 comments

Comments

@lxregistry
Copy link

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
Copy link
Member

stof commented Jan 28, 2025

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)

@xabbuh
Copy link
Member

xabbuh commented Jan 29, 2025

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

@xabbuh xabbuh closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants