Skip Navigation

[Resolved] Login form triggeres fatal error

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 2 replies, has 2 voices.

Last updated by Christopher Amirian 1 year, 3 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2632937

Just after the update to WordPress 6.3 :
I am trying to: insert the login form shortcode [wpv-login-form redirect_url="hidden link"] into the login page of the site

Link to a page where the issue can be seen: hidden link

I expected to see: the login form

Instead, I got: the following fatal error message:

Deprecated: Non-static method C4WP\C4WP_Captcha_Class::login_form_return() should not be called statically in /home/customer/www/muselink.ch/public_html/wp-includes/class-wp-hook.php on line 312

Fatal error: Uncaught Error: Using $this when not in object context in /home/customer/www/muselink.ch/public_html/wp-content/plugins/advanced-nocaptcha-recaptcha/includes/class-c4wp-captcha-class.php:440 Stack trace: #0 /home/customer/www/muselink.ch/public_html/wp-includes/class-wp-hook.php(312): C4WP\C4WP_Captcha_Class::login_form_return('') #1 /home/customer/www/muselink.ch/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array) #2 /home/customer/www/muselink.ch/public_html/wp-content/plugins/toolset-blocks/embedded/inc/wpv-shortcodes.php(734): apply_filters('login_form_midd...', '', Array) #3 /home/customer/www/muselink.ch/public_html/wp-content/plugins/toolset-blocks/embedded/inc/wpv-shortcodes.php(648): wpv_login_form(Array) #4 /home/customer/www/muselink.ch/public_html/wp-includes/shortcodes.php(395): wpv_shortcode_wpv_login_form(Array, '', 'wpv-login-form') #5 [internal function]: do_shortcode_tag(Array) #6 /home/customer/www/muselink.ch/public_html/wp-includes/shortcodes.php(235): preg_replace_ in /home/customer/www/muselink.ch/public_html/wp-content/plugins/advanced-nocaptcha-recaptcha/includes/class-c4wp-captcha-class.php on line 440

#2632959

I descovered that the Captcha 4WP plugin was the culprit...
I implemented the recaptcha functionalities with Kadence Captcha plugin.

So now all is working fine on my hidden link site.

But this conflict qith a deprecated functuion in Captcha 4WP plugin neede to be communicated to you for other users, with WordPress 6.3.

Best regards,
F. De Grandi

#2633351

Christopher Amirian
Supporter

Languages: English (English )

Hi Mr. F. De Grandi

The deprecated function from Captcha 4WP plugin issue can be added as the summary of this ticket for our other users to see.

As soon as you set this ticket as resolved, we will add the summary.

Thank you.

#2634383

Thank you Christopher.
The issue is now resilved.

F. De Grandi

#2634385

Thank you Christopher.
The issue is now resilved.

F. De Grandi