Error thrown when ACLs are used
-
I’m seeing an error thrown when using the plugin with ACLs. Really hoping it’s not just me. I can’t click on the Diagnostics tab to get more detailed info but here’s what WordPress spits out in Debug mode:
PHP Fatal error: Uncaught TypeError: strlen(): Argument #1 ($string) must be of type string, array given in /<docroot>/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Connection/Factory.php:167
I’ve replaced part of the path with <docroot> but that shouldn’t matter.
In wp-config.php, the line that seems to kill it is the WP_REDIS_PASSWORD setting.
define(‘WP_REDIS_PASSWORD’, [‘myusername’, ‘mypassword’]);
If I remove that line all is good.
The plugin has worked fine for many months until I upgraded it to the latest version. Apologies but I don’t remember the previous version.
Hoping this is just an ACL related bug that was introduced in the latest version?
- The topic ‘Error thrown when ACLs are used’ is closed to new replies.