• JustAsking

    (@catenacreations)


    I started building a website in Oct. 2013 which originally had WordPress 3.7.1 and was on a server with PHP 2.27. I installed version 0.9.3 of W3 Total Cache and it worked fine.

    A few days ago we moved the site to a server running PHP 2.42. WordPress has been updated to version 3.8. The plug-in was deactivated when we moved the site. Today I tried to activate it and got this error message:

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Call to undefined function apc_fetch() in /home/amerispe/public_html/dev/wp-content/plugins/w3-total-cache/lib/W3/Cache/Apc.php on line 171

    Here is the code this refers to:

    // if we have expired data - update it for future use and let

    // current process recalculate it

    $expires_at = isset($v['expires_at']) ? $v['expires_at'] : null;

    if ($expires_at == null || time() > $expires_at) {

    $v['expires_at'] = time() + 30;

    apc_store($key . '_' . $this->_blog_id, serialize($v), 0);

    $has_old_data = true;

    return array(null, $has_old_data);

    }

    // return old version

    return array($v, $has_old_data);

    }

    I checked with the hosting company. Nothing they’re doing is affecting this.

    I deleted all the plug-in files via cPanel and reinstalled the plug-in. That didn’t help.

    Anyone know why I’m getting this error? Is it because the plug-in hasn’t been updated to 3.8 yet?

    I will appreciate any help. I am supposed to take this site live this week, and can’t do so without optimizing it. Thanks!

    http://wordpress.org/plugins/w3-total-cache/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error in Apc.php on line 171’ is closed to new replies.