V7.3 update critical issue on WP login form
-
Hi everyone,
And thank you for your big job on this plugin !
The nightly 7.3 update broke my WP login page (on which I configured a captcha). I now got a white page. The problem is quite simple.
Here is the php error :
[11-Aug-2023 08:22:12 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method C4WP\C4WP_Captcha_Class::login_form_return() cannot be called statically in /home/xxx/yyy/wp-includes/class-wp-hook.php:312
The problem is in class-c4wp-captcha-class.php :
- line 439 : public function login_form_return : the function is declare as dynamic
- but line 59, the function is added to filters as if it was static : add_filter( ‘login_form_middle’, array( CLASS, ‘login_form_return’ ), 99 );
Thank you for your work ! And thank you for fixing this issue.
Regards,
Chris
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘V7.3 update critical issue on WP login form’ is closed to new replies.