Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi MailShark

    Please check your wp-content/advanced-cache.php file

    Does it look ok? It should include the wp-ffpc-acache.php file at the end. If it doesn’t, try resaving in the settings page to regenerate the file.

    Thanks

    Thread Starter MailShark

    (@mailshark)

    Hi. Thank you for your reply, very much appreciated.

    We have checked the advanced-cache.php and there is no reference to wp-ffpc-acache.php at all within the file.

    Checking the advanced-cache.php file, it’s actually a file produced by WP SUPER CACHE 1.2 and comes from ./wp-content/plugins/wp-super-cache/advanced-cache.php, same size and all.

    We went into WP-FFPC options and re-saved settings, the advanced-cache.php file remained the same though. No idea why WP-FFPC isn’t writing to the file.

    Which wp-ffpc-acache.php line should be at the bottom of advanced-cache.php? maybe we can just add it manually?

    Thanks.

    You cannot use both W3 Super cache and WP FFPC at the same time as they both hook in to wordpress using this file.

    You cannot easily add it manually either because it needs all the settings you choose.

    It is probably a file/directory permissions issue. The plugin will not update the advanced-cache.php file if it cannot remove it. Try deleting it through your ftp client.

    The user who owns the server process (e.g. www or apache) needs to have write and execute permissions on the wp-content directory. You might need to make wp-content group writable and executable depending on which user owns the directory.

    Hi,

    I recently started getting “Warning: call_user_func_array() expects parameter 1 to be a valid callback, array must have exactly two members in…” whenever I installed a plugin. I’m using WP 4.4 and php7.

    Then I found this: http://wordpress.stackexchange.com/questions/128864/getting-a-warning-call-user-func-array-error-whenever-i-install-update-a-pl

    After going through all WP-FFPC files, I found that commenting line 187 in wp-ffpc-class.php did the trick.

    //add_action( 'upgrader_process_complete', array ( &$this->plugin_upgrade ), 10, 2 );

    I guess I’ll just have to uncomment it to re-save settings after updating the plugin.

    Anybody know a better way?

    Thanks and happy new 2016!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘call_user_func_array expects parameter 1 to be a valid callback’ is closed to new replies.