Plugin Author
gioni
(@gioni)
Hi! We support the free version here on this forum only. Please remove all sensitive data from the information you’d like to share with us via this forum. Possibly, this is your case too: https://ww.wp.xz.cn/support/topic/new-php-warning-with-version-8-9-5/
Hi Gregory (@gioni),
Thank you for your answer. Yes it seems to be directly related to the post you mentioned. The difference for me is a fatal error in addition to the warning when posting the form I use to manage the lostpassword sending link.
I had no problem so far with previous versions of your plugin. This issue only occurs since the 8.9.5 version.
The error message is like :
Warning: Parameter 1 to {closure}() expected to be a reference, value given in /***/wp-includes/class-wp-hook.php on line 303
Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed in /***/wp-includes/class-wp-hook.php on line 303 and exactly 2 expected in /***/wp-content/plugins/wp-cerber/cerber-load.php:3396 Stack trace: #0
/***/wp-includes/class-wp-hook.php(303): {closure}(Object(WP_Error)) #1
/***/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #2
/***/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #3
/***/wp-content/plugins/custom_plugin/custom_plugin.php(1415): do_action('lostpassword_...', Object(WP_Error)) #4
/***/wp-content/plugins/custom_plugin/custom_plugin.php(392): Custom_Plugin::retrieve_password() #5
/***/ in /***/wp-content/plugins/wp-cerber/cerber-load.php on line 3396
Thank you for your support,
GB
Plugin Author
gioni
(@gioni)
This error can occur on WordPress older than 5.4. Anyway, we will release a new version today, and it will fix the issue on any version of WordPress.
Hi Gregory (@gioni),
Thanks for your answer.
I’m actually experiencing this with WordPress running version 5.8.3.
Have a nice day,
GB
Plugin Author
gioni
(@gioni)
It’s been fixed in the last release.
Hi Gregory,
Everything looks good with version 8.9.6.
Many thanks !! 🙏
GB