WordPress.org

Support

Support » Plugins and Hacks » Shopp Cache Helper » [Plugin: Shopp Cache Helper] Fatal error upon activation

[Plugin: Shopp Cache Helper] Fatal error upon activation

  • Using latest version of W3TC, this plugin gives me a fatal error when I try to activate it:

    Fatal error: Call to undefined method W3_Config::instance() in /…/wp-content/plugins/shopp-cache-helper/shopp-cache-helper.php on line 244

    Line 244 says:
    $config = W3_Config::instance();

    Change that to:
    $config = new W3_Config;

    And now the plugin can be activated again (and works too).

    http://wordpress.org/extend/plugins/shopp-cache-helper/

Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m having same problem. This fixed it. Thanks so much!!!

    Thanks everyone.

    I’m sorry but how do you put that code in? It won’t even let me see my blog only that message.

    @Hiranthi, can you mark this issue resolved?

    @natalieab, you have to change it with a code/text editor (on your computer, after changing it re-upload the file through FTP). Or: disable the plugin (ie add an underscore to its plugin folder) and then edit it through the Plugin Editor in WP. Don’t forget to remove the underscore after saving the edit and then re-enable the plugin.

    @frederick, this topic is set as “Not a support question”. Unfortunately the plugin maker (of the Shopp Cache plugin) never added this fix to the plugin so it’s not really resolved.

    Ok Hiranthi. I hope they make an update soon.

    This fix allowed me to activate the plugin, but the plugin doesn’t work. I enabled it while I had 2 items in my cart. Upon removing an item, the cart refreshed and the item was still there.

    It seems that DONOTCACHEPAGE is only read once for a page. If the constant is not defined one time when a page loads, then the page will be cached. Once the page is in the cache, it’ll always load it from the cache.

    I actually just got this working by manually adding ‘shopp_items_in_cart’ to the w3 total cache list of rejected cookies. Seems like the plugin tries to set it automatically but it doesn’t work.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Shopp Cache Helper] Fatal error upon activation’ is closed to new replies.
Skip to toolbar