WPIntell

Source evidence

Cannot redeclare wp_cache

Memcached Object Cache · support · 2022-12-27T09:02:00+00:00

complaintsentiment
highseverity
1.0relevance
7replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 35 rows with source links

17.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
rebrush2 unresolved
Cannot redeclare wp_cache_add() (previously declared in /opt/bitnami/wordpress/wp-includes/cache.php:41) in /bitnami/wordpress/wp-content/plugins/memcached/object-cache.php on line 19 how can i solve this problem? i use lighsail bitnami wordpress Hi, did you follow installation instructions? https://wordpress.org/plugins/memcached/#installation I am facing a similar issue. I have everything set up correctly on my hosting account, and yet when I try to activate the plugin on my WordPress site, I get the same feedback. How do I resolve that? I have the same problem. I did everything strictly according to the instructions and an error occurs: Fatal PHP error: it is not possible to re-declare wp_cache_and() (previously declared in /var/www/fastuser/data/www/site.ru/wp-content/object-cache.php:19) in /var/www/fastuser/data/www/site.ru/wp-content/plugins/memcached/object-cache.php in line 19, the referent: Remove memcached/ folder from plugins. After deleting the folder, the plugin simply disappears. How to make it work? Hi, this isn’t the usual plugin. If you copied object-cache.php to wp-content/ it should already be working after you deleted it from plugins/ . You can install debug-bar or a plugin that can track object-cache stuff to figure if it is working. Thanks, I figured it out. Is it necessary to delete the plugin folder, or can I leave the plugin inactive to keep track of updates via wordpress?

Comments

7 shown
Andrija Vučinić 2022-12-27T16:05:00+00:00

Hi, did you follow installation instructions? https://wordpress.org/plugins/memcached/#installation

musicarenagh 2022-12-30T23:35:00+00:00

I am facing a similar issue. I have everything set up correctly on my hosting account, and yet when I try to activate the plugin on my WordPress site, I get the same feedback. How do I resolve that?

q1LLa 2023-01-11T18:15:00+00:00

I have the same problem. I did everything strictly according to the instructions and an error occurs: Fatal PHP error: it is not possible to re-declare wp_cache_and() (previously declared in /var/www/fastuser/data/www/site.ru/wp-content/object-cache.php:19) in /var/www/fastuser/data/www/site.ru/wp-content/plugins/memcached/object-cache.php in line 19, the referent:

Andrija Vučinić 2023-01-11T18:23:00+00:00

Remove memcached/ folder from plugins.

q1LLa 2023-01-12T12:16:00+00:00

After deleting the folder, the plugin simply disappears. How to make it work?

Andrija Vučinić 2023-01-12T12:50:00+00:00

Hi, this isn’t the usual plugin. If you copied object-cache.php to wp-content/ it should already be working after you deleted it from plugins/ . You can install debug-bar or a plugin that can track object-cache stuff to figure if it is working.

q1LLa 2023-01-13T20:00:00+00:00

Thanks, I figured it out. Is it necessary to delete the plugin folder, or can I leave the plugin inactive to keep track of updates via wordpress?