Hi Matt,
Sorry about the delay!
There should’ve been a fix in April that addressed this:
https://github.com/boogah/Force-Strong-Passwords/pull/16
Can you make sure you’re on the latest release and let me know if you’re still running into issues?
I’m seeing this error now on a Multi-site install. WordPress 4.3, Force Strong Passwords Version 1.6.1
I disabled it in the meantime… looking forward & thanks!
I believe the latest release (1.6.2) addresses this. Could you please try and let me know how it goes?
“when using the forgot password link to reset, if a user enters a weak password it triggers a Fatal Error prompt where the Reset Password button would be.”
I’m receiving this same error in V. 1.6.4
WP 4.3.1 – all other plugins disabled, Twenty Fifteen theme
https://gyazo.com/7ca8464dbb1265088e6f0daeaf444fc6
Please advise
Changing the slt-force-strong-passwords.php file as per the following diff, fixes this, in my case:
117 - if ( ( false === $password ) || ( $errors->get_error_data("pass") ) ) {
117 + global $wp_error;
118 + if (is_wp_error($errors)) {
119 + if($errors->get_error_data("pass")){
120 + return $errors;
121 + }
122 + } elseif (is_wp_error($wp_error)) {
123 + if($wp_error->get_error_data("pass")){
124 + $errors = $wp_error;
125 + return $wp_error;
126 + }
127 + } elseif ( false === $password ) {
118 128 return $errors;
162 - if ( ! $password_ok ) {
177 + if ( ! $password_ok && is_wp_error($errors)) {
+1 to the PR linked in the last comment. This is definitely not “resolved” for me, as I’m seeing the issue on multiple sites running the latest version of the plugin.
Version 1.6.5 — which implements the PR linked above — has been released and should fix your issues. Please let me know if that’s not the case!