Title: Weird Error in Debug Log
Last modified: January 20, 2023

---

# Weird Error in Debug Log

 *  Resolved [angrowmkt1](https://wordpress.org/support/users/angrowmkt1/)
 * (@angrowmkt1)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/weird-error-in-debug-log/)
 * Hello,
   Hope you doing great, I’m having a weird ConnectionException error. Could
   you please let me know what is it? Everything working well but this weird error
   in my debug log file, and I don’t like to see err in my debug file.Thank you!
   here s the log file:[20-Jan-2023 01:51:26 UTC] Predis\Connection\ConnectionException:
   Error while reading line from the server. [tcp://127.0.0.1:6379] in /var/www/
   mydomainname.com/public_html/wp-content/plugins/redis-cache/dependencies/predis/
   predis/src/Connection/AbstractConnection.php:132Stack trace:**0 /var/www/mydomainname.
   com/public_html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/
   Connection/StreamConnection.php(286): Predis\Connection\AbstractConnection->onConnectionError()****
   1 /var/www/mydomainname.com/public_html/wp-content/plugins/redis-cache/dependencies/
   predis/predis/src/Connection/AbstractConnection.php(120): Predis\Connection\StreamConnection-
   >read()****2 /var/www/mydomainname.com/public_html/wp-content/plugins/redis-cache/
   dependencies/predis/predis/src/Connection/AbstractConnection.php(112): Predis\
   Connection\AbstractConnection->readResponse()****3 /var/www/mydomainname.com/
   public_html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Client.
   php(316): Predis\Connection\AbstractConnection->executeCommand()****4 /var/www/
   mydomainname.com/public_html/wp-content/plugins/redis-cache/dependencies/predis/
   predis/src/Client.php(299): Predis\Client->executeCommand()****5 /var/www/mydomainname.
   com/public_html/wp-content/object-cache.php(1872): Predis\Client->__call()****
   6 /var/www/mydomainname.com/public_html/wp-content/object-cache.php(193): WP_Object_Cache-
   >get()****7 /var/www/mydomainname.com/public_html/wp-cron.php(70): wp_cache_get()****
   8 /var/www/mydomainname.com/public_html/wp-cron.php(191): _get_cron_lock()****
   9 {main}**[20-Jan-2023 03:51:32 UTC] Predis\Connection\ConnectionException: Error
   while reading line from the server. [tcp://127.0.0.1:6379] in /var/www/mydomainname.
   com/public_html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/
   Connection/AbstractConnection.php:132Stack trace:**0 /var/www/mydomainname.com/
   public_html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Connection/
   StreamConnection.php(286): Predis\Connection\AbstractConnection->onConnectionError()****
   1 /var/www/mydomainname.com/public_html/wp-content/plugins/redis-cache/dependencies/
   predis/predis/src/Connection/AbstractConnection.php(120): Predis\Connection\StreamConnection-
   >read()****2 /var/www/mydomainname.com/public_html/wp-content/plugins/redis-cache/
   dependencies/predis/predis/src/Connection/AbstractConnection.php(112): Predis\
   Connection\AbstractConnection->readResponse()****3 /var/www/mydomainname.com/
   public_html/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Client.
   php(316): Predis\Connection\AbstractConnection->executeCommand()****4 /var/www/
   mydomainname.com/public_html/wp-content/plugins/redis-cache/dependencies/predis/
   predis/src/Client.php(299): Predis\Client->executeCommand()****5 /var/www/mydomainname.
   com/public_html/wp-content/object-cache.php(1872): Predis\Client->__call()****
   6 /var/www/mydomainname.com/public_html/wp-content/object-cache.php(193): WP_Object_Cache-
   >get()****7 /var/www/mydomainname.com/public_html/wp-cron.php(70): wp_cache_get()****
   8 /var/www/mydomainname.com/public_html/wp-cron.php(191): _get_cron_lock()****
   9 {main}****Here is the diagnostics:**Status: ConnectedClient: Predis (v2.0.3)
   Drop-in: ValidDisabled: NoPing: PONGErrors: []PhpRedis: Not loadedRelay: Not 
   loadedPredis: 2.0.3Credis: Not loadedPHP Version: 7.4.33Plugin Version: 2.2.3Redis
   Version: 7.0.7Multisite: NoMetrics: EnabledMetrics recorded: 1165Filesystem: 
   WorkingGlobal Prefix: “nf”Blog Prefix: “nf”WP_REDIS_PREFIX: “mydomainname.com”
   WP_CACHE_KEY_SALT: “mydomainname.com”WP_REDIS_PLUGIN_PATH: “/var/www/mydomainname.
   com/public_html/wp-content/plugins/redis-cache”WP_REDIS_IGNORED_GROUPS: [    “
   bp_notifications”,    “bp_pages”,    “wp_review_total”,    “wp-review”,    “mts_recent_reviews”,“
   comment”,    “get_the_author_meta()”,    “wc_session_id”,    “bp_messages”,  “
   options”,    “WPML_TM_ICL_Translations::translations”]Global Groups: [    “blog-
   details”,    “blog-id-cache”,    “blog-lookup”,    “global-posts”,    “networks”,“
   rss”,    “sites”,    “site-details”,    “site-lookup”,    “site-options”,    “
   site-transient”,    “users”,    “useremail”,    “userlogins”,    “usermeta”, “
   user_meta”,    “userslugs”,    “redis-cache”,    “blog_meta”]Ignored Groups: [“
   bp_notifications”,    “bp_pages”,    “wp_review_total”,    “wp-review”,    “mts_recent_reviews”,“
   comment”,    “get_the_author_meta()”,    “wc_session_id”,    “bp_messages”,  “
   options”,    “WPML_TM_ICL_Translations–translations”,    “counts”,    “plugins”,“
   themes”]Unflushable Groups: []Groups Types: {    “blog-details”: “global”,   “
   blog-id-cache”: “global”,    “blog-lookup”: “global”,    “global-posts”: “global”,“
   networks”: “global”,    “rss”: “global”,    “sites”: “global”,    “site-details”:“
   global”,    “site-lookup”: “global”,    “site-options”: “global”,    “site-transient”:“
   global”,    “users”: “global”,    “useremail”: “global”,    “userlogins”: “global”,“
   usermeta”: “global”,    “user_meta”: “global”,    “userslugs”: “global”,    “
   redis-cache”: “global”,    “bp_notifications”: “ignored”,    “bp_pages”: “ignored”,“
   wp_review_total”: “ignored”,    “wp-review”: “ignored”,    “mts_recent_reviews”:“
   ignored”,    “comment”: “ignored”,    “get_the_author_meta()”: “ignored”,    “
   wc_session_id”: “ignored”,    “bp_messages”: “ignored”,    “options”: “ignored”,“
   WPML_TM_ICL_Translations–translations”: “ignored”,    “blog_meta”: “global”, “
   counts”: “ignored”,    “plugins”: “ignored”,    “themes”: “ignored”}Drop-ins:[“
   Query Monitor Database Class (Drop-in) v3.11.1 by John Blackbourn”,    “Redis
   Object Cache Drop-In v2.2.3 by Till Krüss”]

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [angrowmkt1](https://wordpress.org/support/users/angrowmkt1/)
 * (@angrowmkt1)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/weird-error-in-debug-log/#post-16391746)
 * I forget to add my wp-config.php files for redis:
 * /* REDIS SITE CONF */
   define( ‘WP_CACHE_KEY_SALT’, ‘mydomain.com’ );define( ‘
   WP_CACHE’, true );
 * /* REDIS EXCLUDE GROUPS */
   define(‘WP_REDIS_IGNORED_GROUPS’, [“bp_notifications”,“
   bp_pages”,“wp_review_total”,“wp-review”,“mts_recent_reviews”,“comment”,“get_the_author_meta()”,“
   wc_session_id”,“bp_messages”,“options”,“WPML_TM_ICL_Translations::translations”,]);
   and my server is Ubuntu 20LTSnginx 18Mariadb10.3Redis 7php7.4
 *  Thread Starter [angrowmkt1](https://wordpress.org/support/users/angrowmkt1/)
 * (@angrowmkt1)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/weird-error-in-debug-log/#post-16391988)
 * there is no control panel or something like that pure manual installation of 
   all the server app and configration.
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/weird-error-in-debug-log/#post-16394782)
 *     ```wp-block-code
       Error while reading line from the server. [tcp://127.0.0.1:6379] 
       ```
   
 * Typically means your Redis Server isn’t responding, try restarting it.
 *  Thread Starter [angrowmkt1](https://wordpress.org/support/users/angrowmkt1/)
 * (@angrowmkt1)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/weird-error-in-debug-log/#post-16427629)
 * For those encountering this issue, I was using PHP 8 and encountered compatibility
   issues with one of the plugins. I switched back to PHP 7.4 but forgot to install
   the PHP 7.4 Redis module on Nginx. I was using the PHP 8.0 Redis module, which
   caused the error. I have now installed it and the problem has been resolved.
 * `sudo apt-get install redis-server php7.4-redis -y

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Weird Error in Debug Log’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [angrowmkt1](https://wordpress.org/support/users/angrowmkt1/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/weird-error-in-debug-log/#post-16427629)
 * Status: resolved