Forums

WP Super Cache
Blank Page (32 posts)

  1. dynamick
    Member
    Posted 1 year ago #

    The fresh updated plugin (ver. 0.9.9.4) produce blank pages in all pages except the home one.
    The PHP generate the following errors:

    [23-Sep-2010 15:02:01] PHP Fatal error: Cannot use object of type WP_Error as array in /var/www/vhosts/dynamick.it/httpdocs/wp-includes/plugin.php on line 166
    [23-Sep-2010 15:02:02] PHP Fatal error: [] operator not supported for strings in /var/www/vhosts/dynamick.it/httpdocs/wp-includes/general-template.php on line 31

    Could u help me?
    Thank

  2. Donncha O Caoimh
    Member
    Posted 1 year ago #

    That's an odd error. I honestly don't know what would cause that as it's not code in the plugin. It's apply_filters() which should be fairly robust. Does it go away if you install 0.9.9.3 again?

  3. dynamick
    Member
    Posted 1 year ago #

    Yes,
    I've restored the old 0.9.9.3 and now all it works.

    Hope you could fix the problem.
    Cheers,
    Mick

  4. Donncha O Caoimh
    Member
    Posted 1 year ago #

    I don't know if I can as I've never seen that error and it doesn't happen on my server :(

  5. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Did you see blank pages in the admin as well as in your blog?

  6. dynamick
    Member
    Posted 1 year ago #

    I see the blank page only in the internal pages.
    The home and the admin works normally.

    Any ideas? Perhaps some other plugin could corrupt somethings...

  7. Donncha O Caoimh
    Member
    Posted 1 year ago #

    dynamick - You could try dumping all the variables used on line 166 of wp-includes/plugin.php

    Dump them to a log file with error_log( print_r( $variable, 1 ) ); and they'll appear in your error log. That will tell us what error created the WP_Error.

  8. dynamick
    Member
    Posted 1 year ago #

    um... it is too difficult to dump that variables.
    I've tried but I've got too many visitor traffic, and the php log is full of waste.

    Now I try to transfer the site to a private host, so I could analyze and post the log.

  9. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Limit it to you IP address using $_SERVER[ 'REMOTE_ADDR' ] and you should get a small log! Thanks, I appreciate the trouble you're going to helping me fix this.

    You could also use if ( is_wp_error($variable) ) to limit the dump to those filters that actually are errors.

  10. Green
    Member
    Posted 1 year ago #

    Having the exact same issue. trying to uninstall via the directions. I am a very non-tech savvy person, so getting through this is a pain. been at it for an hour and cannot get this thing uninstalled. Will post back with more info once I am able to uninstall and reinstall older version.

  11. Donncha O Caoimh
    Member
    Posted 1 year ago #

    hambone614 - use your ftp client to download and edit your wp-config.php and remove the line that mentions WP_CACHE. Upload again and your site will be fine.

  12. Green
    Member
    Posted 1 year ago #

    just got it uninstalled and re-installed older version. receiving error:

    Fatal error: Unsupported operand types in /home/MYSITE/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 621

    My pages and posts are still receiving error as well. What should I do?

    Thank you in advance for your patience, much appreciated Donncha :)

  13. Green
    Member
    Posted 1 year ago #

    Oh, and the line that mentions WP-CACHE was removed when I uninstalled the new version.

  14. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Try cancelling the preload or starting it again. The new version of Supercache changed the "preload_counter" format to include a timestamp so it could restart stalled preloads.

  15. Green
    Member
    Posted 1 year ago #

    Only half caching works. When I turn on full caching, I get the error I stated above directly under the preload cache section.

    Sorry to be pushy, I just made page 1 for 3 search terms, each with 400 million competing +. What info can I give you to resolve this as quickly as possible?

  16. Green
    Member
    Posted 1 year ago #

    Even after uninstalling, my pages and posts were still blank. I then reinstalled and it remains the same. Don't know if that helps at all.

  17. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Are the supercache rules still in your .htaccess file? It's in the root of your WordPress install. They're the lines surrounded by BEGIN/END SuperCache.

  18. Green
    Member
    Posted 1 year ago #

    yes, supercache rules still in .htaccess.

  19. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Delete them ...

  20. Green
    Member
    Posted 1 year ago #

    Should I uninstall the plugin?

  21. Green
    Member
    Posted 1 year ago #

    Just completely uninstalled...still no internal pages. Attempting to reinstall older version again now.

  22. Green
    Member
    Posted 1 year ago #

    reinstalled again and still getting the error:

    Fatal error: Unsupported operand types in /home/MYSITE/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 621

  23. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Open your blog's options database table (wp_options probably) and find the key preload_cache_counter - delete that.

  24. Green
    Member
    Posted 1 year ago #

    Trying to find it now, one sec.

  25. Green
    Member
    Posted 1 year ago #

    Ok, done. updating htaccess now through the plugin...

  26. Green
    Member
    Posted 1 year ago #

    configured everything exactly the way it was and still have the same issues. I will give it a couple minutes to see if it is cleared up. Any other info you need to help clear this up?

  27. Green
    Member
    Posted 1 year ago #

    To anyone reading this, W3 total cache is the all in one solution. CDN support, cloudfront, Varnish Cache support, minify, aggregate, the whole 9...

    ...and the creator doesn't leave you hanging if his plugin crashes your site.

  28. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Hanging? There's only so much time in the day and I attempted to help you but there's only so much can be done through a forum.

    Glad you found a caching plugin that fits your needs.

  29. Andreas Ostheimer
    Member
    Posted 1 year ago #

    I also had the blank page problem with latest WP today after activating preloading. I deactivated the plugin and hope that there are no headaches now.
    I'd rather have a slow website than blank pages produced by a buggy plugin.
    I hope you can resolve this issue and wish you good luck.

  30. Donncha O Caoimh
    Member
    Posted 1 year ago #

    helpstring - blank page is a php error. Check your wp-config.php for syntax errors, or wp-content/advanced-cache.php or wp-content/wp-cache-config.php.

    May also be errors in your PHP error log. I can't tell you where that file is, could be anywhere.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic