Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author petermolnar

    (@cadeyrn)

    hm.

    that function is in wp-ffpc-acache.php which is included from advanced-cache.php, therefore available at any time; in theory, of course.

    Now the filter is in wp-ffpc-class.php, as:
    add_filter('redirect_canonical', 'wp_ffpc_redirect_callback', 10, 2);

    I do not see where it goes off track; I’ll do my best though.

    Hi

    I’m having the same issue on my WP4 + WP-FFPC site.

    This issue needs resolving as I can’t serve a site with errors to mu customers (nor do maaaany other users).

    OK, while I was digging the net I found the solution.

    Every 2nd save of settings in WP-FFPC deletes wp-content/advanced-cache.php file. If you are having the problem as described above, all you need to do is enter WP-FFPC settings and press Save settings ONE TIME.

    wp-content/advanced-cache.php should be recreated and Warning is gone.

    I don’t know why this happens, petermolnar, do you?

    Excellent job on the plugin!

    When setting my .htaccess to remove the trailing slash, I received the same error. This is my .htaccess setup:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    
    RewriteRule ^(.*)/$ /$1 [L,R=301]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    </IfModule>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error in calback for function 'wp_ffpc_redirect_callback'’ is closed to new replies.