Support » Fixing WordPress » PHP Fatal Error due to Hyper Cache plugin

  • Hello,

    I use Hyper Cache on my blog ( and I thought everything was running great, but when I check my error logs in cPanel, I’ve started noticing a lot of the following error:

    [Tue Apr 26 10:58:56 2011] [error] [client] PHP Fatal error: Call to undefined function is_home() in /home/livmommy/public_html/wp-content/plugins/hyper-cache/cache.php on line 201

    I’m not sure what code I needed to include here, so if there’s something I else I need to post, please let me know and I will right away.

    If anyone can help me fix this, I would really appreciate it! Have a great day!

Viewing 1 replies (of 1 total)
  • I think that IP address is one of Googles crawler bots – probably accessing your site in a way that a human never would.

    You can always add the following to the if statement on line 201 of the file specified in the error message like this:

    if (function_exists('is_home') && is_home() && $hyper_cache_home) {

    Instead of it's current for as:

    if (is_home() && $hyper_cache_home) {

    But you’d need to do the same a few lines further down and for the is_page(), is_single() statements a few lines down again.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal Error due to Hyper Cache plugin’ is closed to new replies.