WordPress.org

Forums

W3 Total Cache
[resolved] W3 Total Cache conflicts with Scheduled tasks (2 posts)

  1. TheVirtualPreacher
    Member
    Posted 1 year ago #

    I have been using W3 Total Cache for the past 2 months without any issue until scheduled tasks (such as posts and backups) stopped working 2 days ago.

    I used an error log plugin (Error Log Dashboard Widget) to figure out the culprit. The following error was found recorded in the error log.

    PHP Fatal error: Call to undefined function w3tc_button_link() in /home/virtudwt/public_html/wp-content/plugins/w3-total-cache/lib/W3/GenericAdminEnvironment.php on line 99)

    In summary I navigated to the CDN section of W3TC and unchecked the option "Don't replace URLs for following user roles". After which the scheduled tasks began to function again. I re-enabled the above option and checked "Administrator" The problem returned.

    I really want W3TC to prevent requests to the CDN for logged in users. Any help in regard to solving this problem will be much appreciated.

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

  2. TheVirtualPreacher
    Member
    Posted 1 year ago #

    The problem appeared again and this time I had to disable object caching.

    Since this is not the ideal solution I tried tracing back to any major changes I made in the WordPress back end and remembered replacing WP-Optimize with WP CleanFix which was occasionally malfunctioning too.

    Simply thrashed WP CleanFix and in W3 Total Cache rechecked the option "Don't replace URLs for following user roles" and re enabled object caching. The problem disappeared and W3 Total Cache works without any issue now.

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