READONLY You can’t write against a read only replica
-
Hello,
I’ve got these errors for multiple sites on one server:
Got error ‘PHP message: RedisException: READONLY You can’t write against a read only replica. in ../wp-content/object-cache.php:1070\n
Stack trace:\n
#0 ../wp-content/object-cache.php(1070): Redis->del(‘domain…’)\n
#1 ../wp-content/object-cache.php(80): WP_Object_Cache->delete(‘rocket_cloudfla…’, ‘transient’, 0)\n
#2 ../wp-includes/option.php(729): wp_cache_delete(‘rocket_cloudfla…’, ‘transient’)\n
#3 ../wp-content/plugins/wp-rocket/inc/Addon/ServiceProvider.php(72): delete_transient(‘rocket_cloudfla…’)\n
#4 ../wp-content/plugins/wp-rocket/ inc/Addon/ServiceProvider.php(59): WP_Rocket\\Addon\\ServiceProvider->addon_cloudflare(Object(WP_Rocket\\Admin\\Options_Data))\n
#5 ../wp-content/plugins/wp-rocket/inc/Engine/Container…’Got error ‘PHP message: RedisException: READONLY You can’t write against a read only replica. in ../wp-content/object-cache.php:1014\n
Stack trace:\n#
0 ../wp-content/object-cache.php(1014): Redis->set(‘domain…’, ‘a:378:{s:7:”sit…’, Array)\n
#1 ../wp-content/object-cache.php(931): WP_Object_Cache->add_or_replace(true, ‘alloptions’, Array, ‘options’, 0)\n
#2 ../wp-content/object-cache.php(36): WP_Object_Cache->add(‘alloptions’, Array, ‘options’, 0)\n
#3 ../wp-includes/option.php(258): wp_cache_add(‘alloptions’, Array, ‘options’)\n
#4 ../wp-includes/functions.php(1717): wp_load_alloptions()\n
#5 ../wp-includes/load.php(664): is_blog_installed()\n
#6 …..’WP: 5.5.3
Redis Object Cache: 2.0.15
REDIS_VERSION: 6.08
GOSU_VERSION: 1.12
- The topic ‘READONLY You can’t write against a read only replica’ is closed to new replies.