Fatal error: Cannot redeclare wp_cache_add() but redis is installed

[ad_1]

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer