Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank Password Causing WP-CLI Failures, w/ PHP 8? #359

Closed
timnolte opened this issue Jun 24, 2022 · 2 comments · Fixed by #360
Closed

Blank Password Causing WP-CLI Failures, w/ PHP 8? #359

timnolte opened this issue Jun 24, 2022 · 2 comments · Fixed by #360

Comments

@timnolte
Copy link
Contributor

https://wordpress.org/support/topic/blank-password-causing-wp-cli-failures-w-php-8/

We use the WP-CLI during deployments and it seems as though with PHP 8 the plugin now causes problems with the WP-CLI when no password is used. We are getting exit failures when using the WP-CLI during our deployments that are causing them to fail.

wp stdout: Warning: WP Redis: ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct? in /public/wp-content/plugins/wp-redis/object-cache.php on line 1402
@timnolte
Copy link
Contributor Author

Noting also that this seems the be an issue with the combination of PHP 8 and Redis 6.

@kevin25
Copy link

kevin25 commented May 5, 2023

I got the same issue

WP Redis: ERR AUTH called without any password configured for the default user. Are you sure your configuration is correct?  

timnolte added a commit to timnolte/wp-redis that referenced this issue Jun 5, 2023
* Fixes pantheon-systems#359
* Falls back on port 6379 if the CACHE_PORT is not configured.
* Doesn't require a CACHE_PASSWORD to be set when it isn't used, or can't be.
* Improves code quality by reducing Redis default port & databasei duplicate values to a share variables.
* Fixes invalid code changes made in PR [pantheon-systems#400 ](pantheon-systems#400) to the core plugin connectivity testing that prevent connectivty checks if the port/password/database aren't explicitly defined.
jazzsequence added a commit that referenced this issue Jun 5, 2023
* fix: Fixes assumption that CACHE_PORT & CACHE_PASSWORD are Set.

* Fixes #359
* Falls back on port 6379 if the CACHE_PORT is not configured.
* Doesn't require a CACHE_PASSWORD to be set when it isn't used, or can't be.
* Improves code quality by reducing Redis default port & databasei duplicate values to a share variables.
* Fixes invalid code changes made in PR [#400 ](#400) to the core plugin connectivity testing that prevent connectivty checks if the port/password/database aren't explicitly defined.

* update changelog

---------

Co-authored-by: Chris Reynolds <[email protected]>
jazzsequence added a commit that referenced this issue Jun 26, 2023
* fix: Fixes assumption that CACHE_PORT & CACHE_PASSWORD are Set.

* Fixes #359
* Falls back on port 6379 if the CACHE_PORT is not configured.
* Doesn't require a CACHE_PASSWORD to be set when it isn't used, or can't be.
* Improves code quality by reducing Redis default port & databasei duplicate values to a share variables.
* Fixes invalid code changes made in PR [#400 ](#400) to the core plugin connectivity testing that prevent connectivty checks if the port/password/database aren't explicitly defined.

* update changelog

---------

Co-authored-by: Chris Reynolds <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants