• hi!

    If turn on the “WP OPTIMIZE” plugin with “WP-FFPC” enabled, the redirect of pages with a slash to without does not work. WordPress displaying warning:

    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/k/user/website/public_html/wp-includes/class-wp-hook.php on line 288

    When you turn off one of them, everything works correctly. I can’t understand yet why they conflict and how to solve it.

    Please, help me.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter KR. Laboratories

    (@krashlab)

    I solved this problem – added in .htaccess 301 rediret manually from non-slash to slash URLs:

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*[^/])$ /$1/ [L,R=301]

    </IfModule>

    But I don’t think this is the perfect solution for this problem. Web developers need to test this case, because it occurs on absolutely all sites with WP-FFPC + WP-OPTIMIZE

    Plugin Author David Anderson

    (@davidanderson)

    Hi,

    The error message shows that it is (fairly minor, in the sense of easy to fix) coding error in the other plugin you mention. Since it only happens in combination with WP-O, presumably WP-O causes a code path to be run that isn’t otherwise run – but, the error is in the other plugin, so you will want to report it to them to get it fixed up.

    David

    Thread Starter KR. Laboratories

    (@krashlab)

    Hi, @davidanderson
    Thank you for answer!
    Yes, i already report it to them.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘conflict with WP-FFPC’ is closed to new replies.