Title: Fatal Error Issue
Last modified: August 21, 2016

---

# Fatal Error Issue

 *  [Amreen](https://wordpress.org/support/users/amreen/)
 * (@amreen)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-issue-4/)
 * Hi,
 * I’m using WP V3.6.1 and Styles V1.1.7 for my multi-site website.
 * I made a child theme of Twenty Ten on my network and activated Styles for complete
   customization of each website I create. I use the plugin with Twenty Ten Options
   and Styles:Twenty Ten for better customization. The latter plugins too are of
   latest version.
 * I created few websites using the above plugins and theme and then a fatal error
   was thrown as:
 * Fatal error: Allowed memory size of 956301312 bytes exhausted (tried to allocate
   33554432 bytes) in /wp-content/plugins/styles/classes/styles-admin.php on line
   224
 * I am not able to access the back-ends of the site.
 * Then by searching in the Forums, I got this info of increasing the memory size
   of WordPress in settings.php and defining WP_MAX_MEMORY_LIMIT in wp-config.php
 * These changes worked, but later, the plugin activation caused the same fatal 
   error for my website, say xyz.mydomain.org and then all the websites I made after
   them and activated the plugin within each of its plugin area, the back-end got
   inaccessible.
 * Kindly help!
 * [https://wordpress.org/plugins/styles/](https://wordpress.org/plugins/styles/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-issue-4/#post-4651807)
 * I’d normally say “increase the memory limit,” but 956,301,312 bytes (956 MB!)
   is an ENORMOUS amount of memory for a site to be using. This is abnormal and 
   should be fixed.
 * Can you help me with some details to try to identify why this is happening? For
   starters, what are the names of the plugins you have active, and how many sites
   are in your Network?
 *  Plugin Author [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-issue-4/#post-4651808)
 * I just ran some checks on Styles memory usage with every option set (about 250
   options).
 * Styles tries pretty hard to minimize the amount of memory it takes up. When every
   option was set on a stock WordPress install, I see:
 * Customizer memory usage increases from 28MB to 38MB
    Front-end memory usage increases
   from 22MB to 23MB.
 * Since you’re seeing memory usage of 956 MB, some likely culprits to look for 
   are:
    - Your plugin or theme is hitting an infinite loop. If you’re writing custom
      code, check for functions that might never end. If you’re using plugins, try
      disabling all plugins, then re-enabling them one-by-one until the problem 
      re-appears. If that doesn’t work, try switching to the default theme. If the
      problem goes away, the issue is in the theme code.
    - Look for plugins that might be storing an enormous amount of information to
      your database. Are you running some sort of cache, indexing plugin, or **related/
      featured posts plugin**? If these save information to your `wp_options` table,
      the increased memory usage would continue even when they are disabled. Sometimes
      deleting the plugin in `wp-admin` can remove that data usage.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal Error Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/styles_d6d5d3.svg)
 * [Styles](https://wordpress.org/plugins/styles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/styles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/styles/)
 * [Active Topics](https://wordpress.org/support/plugin/styles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/styles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/styles/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [pdclark](https://wordpress.org/support/users/pdclark/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-issue-4/#post-4651808)
 * Status: not resolved