WordPress admin empty page

After loosing many hair because of random white pages in wordpress admin, especially on plugin page, i finally found out the reason of this problem :

First, don’t follow wp forums advices telling you to rename your plugins folder, you will lose your time because not only it does not work (or seems to work for a while), but also that you will have to re-enable all your plugins one by one…

The reason of the problem is in fact very simple, it’s about memory limit !

To find it, the easier way is to modify your wp-config.php file and activate debug mode : define('WP_DEBUG', true);

And to solve it, just rise your php memory limit and reload the page in error.

1) in the wp-config file : define(‘WP_MEMORY_LIMIT’, ’128M’);

2) if it does not work, modify your php.ini : memory_limit = 128M ;

3) otherwise try to add an apache directive in your .htaccess file : php_value memory_limit 128M

Don’t forget to set your WP_DEBUG back to false !


Laisser un commentaire