• Resolved Kevin Leary

    (@kevinlearynet)


    Hi Peter,

    I love the plugin so far, I think it has a lot of potential. I’m using it on an nginx/php5-fpm Ubuntu setup with Memcache and am seeing the following recurring error in my PHP logs:

    FastCGI sent in stderr: "PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_ffpc_redirect_callback' not found or invalid function name in /wp-includes/plugin.php on line 199" while reading response header from upstream, client: XXX.XX.XXX.XX, server: mydomain.com, request: "GET /?p=16308 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "subdomain.mydomain.com"

    A quick Google search shows that other’s are hitting the same error as well.

    The action and the callback both appear to be registered properly, I’m currently stumped.

    Thanks

    http://wordpress.org/plugins/wp-ffpc/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Im having the exact same issue when visiting rel=shortlink pages.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_ffpc_redirect_callback' not found or invalid function name in /home/nginx/domains/xxxxxxxx.com/public/wp-includes/plugin.php on line 199

    Well, i know this is old topic, but maybe someone hits the same problem still. In my case the problem was wrong path in wp-content/advanced-cache.php for

    include_once (‘/xxxxxxx/wordpress/public_html/wp-content/plugins/wp-ffpc/wp-ffpc-acache.php’);

    Also i have seen a case where this line does not exist at all 🙂

    @peter Molnar, maybe change it to require_once instead?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Warning with 'wp_ffpc_redirect_callback'’ is closed to new replies.