pantheon-systems / localdev-issues

Issue tracking for Pantheon localdev
6 stars 2 forks source link

Errors when local reddis service not running but code wants it to be #112

Open wstaves-pace opened 3 years ago

wstaves-pace commented 3 years ago

Steps to reproduce

  1. get a live site that uses reddis service running in localdev
  2. disable the reddis service in localdev

Observed behavior You get messages like the following Warning: Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /app/web/wp-content/plugins/wp-redis/object-cache.php on line 1210 Warning: WP Redis: php_network_getaddresses: getaddrinfo failed: Name or service not known in /app/web/wp-content/plugins/wp-redis/object-cache.php on line 1389

Desired behavior Pantheon's wp-redis plugin should play nice with Pantheon's Localdev offering. Maybe a "turn on reddis on your localdev stupid!" message - or a more quiet failure.

pirog commented 2 years ago

@wstaves-pace definitely a 👍🏼 for the relevant Pantheon WordPress plugins and Drupal modules producing a more helpful error message in this situation.