WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
WP Supercache = Frequent White Screen? (4 posts)

  1. cent
    Member
    Posted 3 years ago #

    Noticing that we're getting a lot of white screens of death for logged in users and the WP Admin. Trying to isolate the issue as there is nothing in the Apache or server logs related to a specific error. However, the only way to remedy this is to restart Apache which makes the white screen go away.

    The problem appears to affect a number of different WP installs so its not tied to a specific version of WP. The only thing these sites share in common is WP Supercache.

    Looking further, I'm logging the errors to a log file for analysis. What I do see are hundreds of similar lines to:

    [05-Nov-2010 10:22:53] PHP Fatal error: Call to a member function get() on a non-object in /var/www/vhosts/[sitedomain_removed]/httpdocs/wp-includes/cache.php on line 93

    The between these errors are between a few seconds apart to 4-6 minutes. The frequency at which these appear may be cause by users leaving comments.

    Has anyone experienced this before with WP Supercache?

    Thanks!

    Best
    Cent

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    That error isn't a Supercache problem. cache.php is the WordPress object cache and some plugin is trying to use it before or after the cache object has been created or destroyed.

    There must be some other plugin or theme that uses the object cache incorrectly unfortunately.

  3. cent
    Member
    Posted 3 years ago #

    Hey Donncha,

    As this may have been covered before, do you have a shortlist of plugins where you've seen this happen? Not to throw another dev under a bus, but ultimately using Supercache is more important than any other plugin on high traffic sites. Alternatively, is there something that I can search for to find the culprit? Understandably if its not WPSC that is the issue or part of the issue, any help is even more appreciated.

    Best,
    Cent

  4. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    Look for "wp_cache_" in your plugins. They're the offending commands.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic