Memory limit exhausted in PHP 8.x
-
Hello
When we upgrade our website from PHP 7.4 to PHP 8.x, after some time we get the PHP error message:
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in \wp-content\plugins\wp-typography\vendor-scoped\mundschenk-at\wp-data-storage\src\class-transients.php on line 116
Once we clear the cache of wp-Typography, the page works again for some time.
In the post https://www.ads-software.com/support/topic/incompatibility-errorcode-500 I read that this could be due to too many plugins. Well, our website actually uses quite a lot of plugins. However, they are all needed and I can’t just disable them.
I wonder why the problem only occurs with PHP 8.x. Can you explain this to me? And do you have a tip on how I can further analyze the actual problem. After all, the extension won’t take up so much memory for no reason.
Many thanks
WanDal
- The topic ‘Memory limit exhausted in PHP 8.x’ is closed to new replies.