• Resolved SottoVoce

    (@sottovoce)


    Hi,

    When trying to add a new post, or save an existing post I’m getting the following error:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Swift_Performance_Cache' does not have a method 'clear_cache_after_post' in /usr/home/MYSITE/web/wp-includes/class-wp-hook.php on line 288

    I’m running WordPress 5.1, WooCommerce 3.5.6 and Swift Performance Lite 2.0.7.

    This error started when upgrading SPL to 2.0.7

    • This topic was modified 5 years, 8 months ago by SottoVoce.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Fred

    (@fredawd)

    Hi,

    Did you use Plugin Organizer and enabled/disabled some plugins with sertain rules?
    If so, please remove all rules and see if that solve your issue.

    Thread Starter SottoVoce

    (@sottovoce)

    No Fred, no rules for this installation.

    Plugin Contributor Fred

    (@fredawd)

    May you update Swift to latest release 2.09 and let me know if the problem still persist?

    Thread Starter SottoVoce

    (@sottovoce)

    I’m sorry Fred, it was a client installation and I switched to W3TC. I will give your plugin a new opportunity, I really like it.

    Plugin Contributor Fred

    (@fredawd)

    Thanks for letting us know. Appreciate that. All the best.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error on new post or saving post’ is closed to new replies.