Title: PHP Warning with &#039;wp_ffpc_redirect_callback&#039;
Last modified: August 21, 2016

---

# PHP Warning with 'wp_ffpc_redirect_callback'

 *  Resolved [Kevin Leary](https://wordpress.org/support/users/kevinlearynet/)
 * (@kevinlearynet)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-warning-with-wp_ffpc_redirect_callback/)
 * 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](https://www.google.com/search?q=%22call_user_func_array()+expects+parameter+1+to+be+a+valid+callback%2C+function+&apos;wp_ffpc_redirect_callback&apos;+not+found+or+invalid+function+name%22&oq=%22call_user_func_array()+expects+parameter+1+to+be+a+valid+callback%2C+function+&apos;wp_ffpc_redirect_callback&apos;+not+found+or+invalid+function+name%22&aqs=chrome..69i57.1084j0j8&sourceid=chrome&espv=210&es_sm=91&ie=UTF-8)
   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/](http://wordpress.org/plugins/wp-ffpc/)

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

 *  [ruchirablog](https://wordpress.org/support/users/ruchirablog/)
 * (@ruchirablog)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/php-warning-with-wp_ffpc_redirect_callback/#post-4343600)
 * 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`
 *  [Aizar](https://wordpress.org/support/users/aizar/)
 * (@aizar)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-warning-with-wp_ffpc_redirect_callback/#post-4343624)
 * 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](https://wordpress.org/support/users/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.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-ffpc_ffffff.svg)
 * [WP-FFPC](https://wordpress.org/plugins/wp-ffpc/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ffpc/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ffpc/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ffpc/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ffpc/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ffpc/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Aizar](https://wordpress.org/support/users/aizar/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/php-warning-with-wp_ffpc_redirect_callback/#post-4343624)
 * Status: resolved