Server Error after update to 4.1

PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 79956072196 bytes) in /XXXXX/htdocs/analytics/vendor/twig/twig/src/Extension/EscaperExtension.php on line 204

Hi,

Can you try clearing the cache (by deleting everything in the tmp/ directory)?

tried that but got still same error (bytes varying)

Then I guess the only thing I can think of is temporarily increasing the maximum allowed memory size.

I switched from PHP 7.4.13 to 7.3.19 and the issue is gone!

Got the same erro and trying now the solutions

you need to change the php version. i am facing the same problem from last week. i just changed the php old version to latest version. it’s solved now.

What version are you using? With 7.4.14 I got the same issue.

I am using 7.4.14 what should i do? any solution.

This post was flagged by the community and is temporarily hidden.