I got the “white screen of death”. This is the error I’m getting each time I try to update the WP version.
” **Fatal error**: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16384 bytes) in **/services/webpages/b/e/mywebsite.ca/public/wp-includes/class-wp-scripts.php** on line **523″**
From what I’m reading, the host needs to increase the PHP limit? Because I already tried increasing the WP\_MEMORY\_LIMIT in the wp\_config file to 1024M and it didn’t work. And I edited the php.ini file as well.
This is my php.ini file:
safe\_mode=Off
display\_errors=On
file\_uploads=On
upload\_max\_filesize=15M
post\_max\_size=16M
max\_execution\_time=180
memory\_limit=1024M
[ad_2]
Your limit is 256MB based on error. And if that heppens, increasing memory limot is not the solution. Nothing in WordPress should be using so much memory, so you have some bug/error causing memory leak, usually due to badly optimized query returning huge data sets or some recursion gone wild. You need to find out where this happens and why and fix it.
Seems like infinite recursion on one of plugins, try to disable all plugins and then update version.
You need much less memory than you have, the problem is something else. These are the symptoms, not the cause.
Which theme are you using?