You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The optional 7th argument the Redis::connect() holds an array of context
parameters, required for authentication. This parameter can either be
NULL or an array.
Fix the condition, so it does not reject arrays.
Describe the bug
Redis server configuration rejects valid auth parameter.
To Reproduce
On a system with Redis support, add a filter for Redis servers with 7th (auth) parameter:
Validation rejects the last parameter, because the condition is invalid:
Internally:
Cachify_REDIS::sanitize_con_parameters()
returnsfalse
because ofExpected behavior
Cachify should try to connect to the configured Redis server using "username:password" credentals.
I.e.
Cachify_REDIS::sanitize_con_parameters()
should return the (sanitized) array.System:
Additional context
Cross reference: https://wordpress.org/support/topic/php-fatal-error-457
The text was updated successfully, but these errors were encountered: