WordPress.org

Forums

W3 Total Cache
Fatal error when using memcache for page cache (3 posts)

  1. sanchothefat
    Member
    Posted 2 years ago #

    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/

  2. sanchothefat
    Member
    Posted 2 years ago #

    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!

  3. olly connelly
    Member
    Posted 2 years ago #

    Works for me, sanchothefat.

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic