开发者

Fatal error: Allowed memory

开发者 https://www.devze.com 2023-03-09 13:49 出处:网络
I tried to activate W3 Total Cache wordpres plugin and got some b开发者_如何学Pythonlank screen with memory error message. After I deactivated all plugins and set the default WP theme, my front page s

I tried to activate W3 Total Cache wordpres plugin and got some b开发者_如何学Pythonlank screen with memory error message. After I deactivated all plugins and set the default WP theme, my front page still says :

« Fatal error: Allowed memory size of 262144 bytes exhausted », although my wp-config contains the line : define('WP_MEMORY_LIMIT', '96M');

How is that possible ?


I would not set memory limit as -1, you are asking for your host to kick you off the server.


add this in top of wp-config

ini_set('memory_limit', '-1');
0

精彩评论

暂无评论...
验证码 换一张
取 消