fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Error establishing a Redis connection

jimmy demestre

I installed wp-rocket and redis object cache, and everytime I go to save a page, or product I receive this error below.

Error establishing a Redis connection

socket error on read socket

 

 

This message was triggered by woo-variation-swatches.

Call stack:

  1. wp_die()
    wp-content/object-cache.php:2952
  2. WP_Object_Cache->show_error_and_die()
    wp-content/object-cache.php:2890
  3. WP_Object_Cache->handle_exception()
    wp-content/object-cache.php:1733
  4. WP_Object_Cache->flush_group()
    wp-content/object-cache.php:162
  5. wp_cache_flush_group()
    wp-content/plugins/woo-variation-swatches/includes/class-woo-variation-swatches-manage-cache.php:252
  6. Woo_Variation_Swatches_Manage_Cache->clear_cache_by_group()
    wp-content/plugins/woo-variation-swatches/includes/class-woo-variation-swatches-manage-cache.php:148
  7. Woo_Variation_Swatches_Manage_Cache->clear_cache_on_delete_product_transients()
    wp-includes/class-wp-hook.php:324
  8. do_action('woocommerce_delete_product_transients')
    wp-content/plugins/woocommerce/includes/wc-product-functions.php:154
  9. wc_delete_product_transients()
    wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:882
  10. WC_Product_Data_Store_CPT->clear_caches()
    wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:267
  11. WC_Product_Data_Store_CPT->update()
    wp-content/plugins/woocommerce/includes/class-wc-data-store.php:196
  12. WC_Data_Store->update()
    wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php:1432
  13. WC_Product->save()
    wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php:424
  14. WC_Meta_Box_Product_Data::save()
    wp-includes/class-wp-hook.php:324
  15. do_action('woocommerce_process_product_meta')
    wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php:273
  16. WC_Admin_Meta_Boxes->save_meta_boxes()
    wp-includes/class-wp-hook.php:326
  17. do_action('save_post')
    wp-includes/post.php:4828
  18. wp_insert_post()
    wp-includes/post.php:4930
  19. wp_update_post()
    wp-admin/includes/post.php:453
  20. edit_post()
    wp-admin/post.php:227

Hakik Zaman

Hi jimmy,

Thanks for reaching out to us. Do you have a staging site where we can test it further?

Note: We are on a vacation. So, you may get a slower response till 15 April 2024.

Thank You