Quantcast
Channel: WordPress.org Forums » [Redis Object Cache] Support
Viewing all articles
Browse latest Browse all 110

Connected but throwing “No such file or directory” errors in debug.log

$
0
0

Replies: 1

Hi,

I’m experiencing an unusual issue with Redis Object Cache plugin (v2.5.4) on my WordPress site. While the plugin’s diagnostic page shows Redis is connected and working correctly, I’m getting repeated errors in debug.log:

Environment:

  • WordPress Plugin: Redis Object Cache 2.5.4
  • Redis Version: 6.0.5
  • PHP Version: 8.1.30
  • PhpRedis: v6.0.2
  • Connection: Unix socket

Diagnostic page shows:

  • Status: Connected
  • Client: PhpRedis (v6.0.2)
  • Drop-in: Valid
  • Ping: 1
  • Errors:

However, debug.log continuously shows these errors:

  1. RedisException: No such file or directory in object-cache.php:736
  2. PHP Fatal error: Uncaught Error: Call to a member function get() on null in object-cache.php:193

Configuration:
WP_REDIS_SCHEME: “unix”
WP_REDIS_PATH: “/run/redis/redis.sock”

The unusual part is that despite these errors, the Redis diagnostic page shows everything is working correctly. The site itself works, but these errors keep appearing in the logs.

Any ideas what might be causing this discrepancy between the diagnostic status and the debug logs?

Thank you for your help!


Viewing all articles
Browse latest Browse all 110

Trending Articles