WP Maintenance disaster
Fatal error: memory exhausted
We get a fair share of disaster recovery requests for our undo DISASTERS service. Most of them are the end-results of catastrophic proportions, equivalent of a tornado combined with a volcano combined with a huge meteor collision. Meaning, infected/hacked is the least of problems the owner has. However, from time-to-time, we get a few nasty looking issues, that are harmless and easy to solve. Not even considered worthy to explain differences and we simply charge a mere fraction as wordpress FIXES. Since they are relatively common, let’s explore this one:
What is it?
Well, its a White Screen of Death. According to the WordPress Codex, the white screen of death is ONE OF THE MOST COMMON ERRORS that occur in the CMS. A user may either be inside WordPress while it happens or is attempting to log into the WordPress wp-admin, only to discover a blank page. Mostly, the white screen of death happens when an error takes place in a website’s PHP or database.
Simply put, PHP is the language that WordPress is built on. By default, your server designates a particular quantity of memory to run the PHP code, that makes your WordPress site functional. If your website surpasses this limit, you’ll see the following error (or something really comparable):
Fatal error: Allowed memory size of huge_number_here bytes exhausted (tried to allocate bigger_number_here bytes) in /Your_Hosting_Path/domain/public_html/wp-includes/plugin.php on line specific_number_here
WP Maintenance Warning: Please note, that this type of error can be triggered by several specific PHP files, but they all have the same complaint. Run out of memory and they need more.
Solving this WordPress Maintenance problem is basic enough: raise the PHP memory limit. You can, in fact, do this yourself, by modifying your website’s files. To do that, you’ll require to access your site files straight using a File Transfer Protocol (FTP/SFTP) or web hosting panel. The file you need to modify it is in your site’s root directory site. This is usually called public_html. Now and edit the “wp-config.php” file: