Cannot declare class WP_Object_Cache, because the name is already in use #41
Unanswered
laotoutou
asked this question in
Support (ROC)
Replies: 1 comment
-
Try deleting the If that still crashes, then you're using a plugin that conflicts with Redis Object Cache. Try disabling every plugin one-by-one. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
When I click the 'enable' button to activate the plugin, my website crashes. In the logs, I found the following error:
Cannot declare class WP_Object_Cache, because the name is already in use in /data/wp-content/object-cache.php on line 357
Additional context
My website's root directory is located at /var/www/html, and the wp-content directory within the root is a symbolic link, situated at /data/wp-content.
Environment
Status: Not enabled
Client:
Drop-in: Not installed
Disabled: No
PhpRedis: 6.0.2
Relay: Not loaded
Predis: 2.1.2
Credis: Not loaded
PHP Version: 8.3.1
Plugin Version: 2.5.0
Redis Version: Unknown
Multisite: No
Metrics: Disabled
Metrics recorded: 0
Filesystem: Writable
Beta Was this translation helpful? Give feedback.
All reactions