Support » Plugin: W3 Total Cache » Fatal error when using memcache for page cache

  • I’m using the latest 0.9.2.11 release and seeing the following error when w3tc is trying to get a page from memcached:

    Fatal error: Call to undefined function apply_filters() in /path/to/wp/wp-content/plugins/w3-total-cache/inc/define.php on line 119

    Seems like a bug to me, would appreciate some help with which version to roll back to or if I can patch it myself for now?

    Cheers!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ok, additional information – it turns out the problems goes away when page cache debug info is turned off.

    Going to check the object cache console but it’d be useful if this didn’t cause a fatal error and could tell if the page is coming from memcache or not.

    All you need is a function_exists() check or use an internal version of apply_filters().

    Hope that helps!

    Works for me, sanchothefat.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error when using memcache for page cache’ is closed to new replies.