pantheon-systems / wp-redis

WordPress Object Cache using Redis.
https://wordpress.org/plugins/wp-redis/
GNU General Public License v2.0
225 stars 67 forks source link

[BUGS-6457] Warning when using tls protocol #442

Open rfair404 opened 1 year ago

rfair404 commented 1 year ago

https://github.com/pantheon-systems/wp-redis/blob/4e8c04e1db484bd2f72a6b3d92532f7dd3ae40c3/object-cache.php#L1268C3-L1268C44

It appears that the "file_exists" function does not know how to handle files with tls:// prefix. the specific warning is

Warning: file_exists(): Unable to find the wrapper "tls" - did you forget to enable it when you configured PHP? in /pubwebdev/html/wp-content/plugins/wp-redis/object-cache.php on line 1259

That is a bit of a confusing warning, because in fact I have openssl enabled.

Perhaps an additional condition can be added here to check if the host is not tls.

rwagner00 commented 1 year ago

Thanks for the report, I'm creating an internal Issue to check on this. To clarify, is this blocking any functionality, or just producing the warning?

rwagner00 commented 1 year ago

Internal: tracking in BUGS-6457

rfair404 commented 1 year ago

Functionality is working, just a warning.

On Fri, Jun 30, 2023, 16:04 J Ryan Wagner @.***> wrote:

Thanks for the report, I'm creating an internal Issue to check on this. To clarify, is this blocking any functionality, or just producing the warning?

— Reply to this email directly, view it on GitHub https://github.com/pantheon-systems/wp-redis/issues/442#issuecomment-1615232625, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFOM3UJODG5ETRF6FE62NLXN5EPHANCNFSM6AAAAAAZ2FO5DY . You are receiving this because you authored the thread.Message ID: @.***>