• Resolved hniane

    (@hniane)


    Hello,
    I am currently facing a bug that I have not been able to fix for several hours.
    Every time I click on “Enable Object cache”, I get a fatal error “Cannot redeclare wp_cache_add” because the object-cache.php file use the same name of the wordpress core function “wp_cache_add”.
    Redis is well configured on my server and it is running.
    What i can do to fix this error ?
    Thanks in advance for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    That’s likely due to another plugin conflicting.

    WP Core doesn’t load wp_cache_add() if a object-cache.php drop-in is present.

    Thread Starter hniane

    (@hniane)

    Well done with a fresh wordpress install, i got no problem.
    i can confirm that it’s a conflict with Super Cache.
    Thank you so much.

    Plugin Author Till Krüss

    (@tillkruess)

    Great. Can you link the support with them post here if you open one?

    Thread Starter hniane

    (@hniane)

    I’ll keep you informed

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Cannot redeclare wp_cache_add() but redis is installed’ is closed to new replies.