• toure

    (@toure)


    Hi Guys,

    Hoping someone could help.

    I seem to be able to log into my wordpress blog fine, view and edit it. However, if you are not logged in, the website does not load, it just stays blank. There seems to be a problem in the cache.php

    I checked my logs and the error is –

    [Tue Mar 11 17:20:54 2008] [error] [client 89.122.29.105] FastCGI: server “/var/www/fcgi/php-cgi” stderr: PHP Fatal error: Call to a member function get() on a non-object in /user/htdocs/wp-includes/cache.php on line 29

    Line 29 in the cache.php is –

    return $wp_object_cache->get($id, $flag);

    Its strange because I was expecting this to be a problem from a plugin or something but I am not sure if this is the case. I did have an error a couple of days before with this plugin https://www.joostdevalk.nl/wordpress/rss-footer/ which i have seen diactivated and deleted.

    Yet I still have the problem. The site loads fine when im logged in for me, just when anyone else views it, it simply stays as a blank screen.

    The problem i was having with the rss footer plugin before i uninstalled was this error –

    unserialize() expects parameter 1 to be string, array given – in the below lines;

    user/htdocs/wp-content/plugins/rss-footer.php on line 105
    user/htdocs/wp-content/plugins/rss-footer.php on line 94

    Which is –

    94 – $options = unserialize(get_option(‘RSSFooterOptions’));

    105 – $options = unserialize(get_option(‘RSSFooterOptions’));

    Whether that has anything to do with the cached problems I have no idea. It has been deactivated as I mentioned.

    I dont have any other plugins that I believe would cause the problem. Every other plugin has been installed for at least a year previous with no issues.

    Any help is greatly appreciated!!.

    Cheers.

    Toure.

Viewing 1 replies (of 1 total)
  • Thread Starter toure

    (@toure)

    Looks like this was a php upgrade issue on the server causing the issues.

    I backed up WP, downloaded the new version and installed over.

    It fixed the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal Error in cache.php’ is closed to new replies.