Fatal error on the website is the thing that always makes a heart leap into the boots, but today we will learn how to deal with one of the most annoying WordPress errors easily.
If one day you open your website and instead of the content see a blank page with the next words: Fatal error: Allowed memory size of 33554432 bytes exhausted, do not be afraid.
Note, that error appears just like a warning that your WordPress code requires more memory than it is set by the default.
So, all you need is just to increase the PHP memory limit on your server, and all will be nailed.
In order to do that, just login to your FTP or hosting control panel and find the wp-config.php file that is located in the root directory of your WordPress installation.
After that, paste the following piece of code before the line that says: /* That’s all, stop editing! Happy blogging. */.
define( 'WP_MEMORY_LIMIT', '256M' );
Do not forget to save the changes and clear your browser cache.
Well done! Now your visitors and you can enjoy the website again.
We would also recommend you to view our beautiful WordPress themes in case you need a wider choice of website building solutions.