Support » Plugin: Super Page Cache for Cloudflare » Issue on last version (2.6) when publish or edit a post

  • Resolved zicoxx

    (@zicoxx)


    As object we have update plugin to last version mainly to resolve issue about
    PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘purge_cache_on_post_published’ not found

    This was resolved but now there’s a important issue about posting

    #0 /home/xxx/wp-includes/class-wp-hook.php(290): SW_CLOUDFLARE_PAGECACHE->purge_cache_on_post_published(‘draft’)
    #1 /home/xx/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #2 /home/xx/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home/xx/wp-includes/post.php(4620): do_action(‘transition_post…’, ‘draft’, ‘draft’, Object(WP_Post))
    #4 /home/xx” while reading response header from upstream, client: 79.54.198.55, server: xx, request: “POST /wp-admin/post.php HTTP/1.1”, upstream: “fastcgi://unix:/opt/alt/php-fpm73/usr/var/sockets/xx.sock:”, host: “xx”, referrer: “https://xx/wp-admin/post.php?post=xxx&action=edit&swcfpc=1”

    2020/03/18 12:20:28 [error] 12163#12163: *1159 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function SW_CLOUDFLARE_PAGECACHE::purge_cache_on_post_published(), 1 passed in /home/xx/wp-includes/class-wp-hook.php on line 290 and exactly 3 expected in /home/xx/wp-content/plugins/wp-cloudflare-page-cache/wp-cloudflare-super-page-cache.php:263
    Stack trace:

Viewing 1 replies (of 1 total)
  • Thread Starter zicoxx

    (@zicoxx)

    last version (2.8) resolved this issue
    Thanks for developer

Viewing 1 replies (of 1 total)
  • The topic ‘Issue on last version (2.6) when publish or edit a post’ is closed to new replies.