Full or partial blank screen on the frontend or dashboard

­

If you need to revert to a working state ASAP, rename the plugin's folder via FTP, which is at /wp-content/plugins/justified-image-grid/ but make sure you continue reading for the solution.

When your site crashes, it's usually due to a PHP fatal error. Often, the error message is hidden (blank screen). First, we need to see what kind of error it is:

  1. With an FTP client, navigate to the WordPress installation folder and edit the wp-config.php file.
  2. Look for the WordPress debugging mode and set WP_DEBUG to true (from false), so it'll look like this:
  3. Save, then reload the page where the crash occurred.

Most likely it'll say Fatal error: Allowed memory size of X bytes exhausted (tried to allocate Y bytes) or it could just remain blank (still, likely a memory problem). The rest of this fix will focus on fixing the memory error. For everything else, contact JIG support. If you see any harmless PHP notices, they can be hidden by disabling the debugging mode.

X should be one of these:

  • 8388608 bytes = 8M
  • 16777216 bytes = 16M
  • 33554432 bytes = 32M
  • 67108864 bytes = 64M
  • 134217728 bytes = 128M
  • 268435456 bytes = 256M
  • 536870912 bytes = 512M
  • 1073741824 bytes = 1G

If the limit (X) is anything smaller than 128M, you'll need to increase it. Multiple plugins installed will quickly consume all of this limited memory. In that case, JIG is the last straw and it's not the plugin's fault.

If disabling unnecessary plugins doesn't help... Set a limit that it at least 128M and is one level higher than your current limit X (refer to the list above). Not all of the following methods will work or be available on all hosts. Try them until you get it working. If the error message still appears but the X changed in it, then just set it to a higher level.

Once it works, make sure that your debug mode is turned off in the wp-config.php file:

The wp-config method
  1. Navigate to the WordPress installation folder and edit the wp-config.php file.
  2. Find this line if it exists and change its value, otherwise add:
The .htaccess method
  1. Navigate to the WordPress installation folder and edit the .htaccess file.
  2. Add this line somewhere:
The php.ini method
  1. Locate and edit your php.ini file if you have access to it on your hosting.
  2. Find the line that begins with memory_limit and change it to:
This troubleshooting fix was posted in Frontend no-show on June 19, 2015