wpcf7_recaptcha_onload_script

Posted in: Newsmag
Post count: 18

I have the php_errorlog full of these warnings:

[14-Nov-2020 17:40:50 UTC] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, function ‘wpcf7_recaptcha_onload_script’ not found or invalid function name in /home/customer/www/universita.it/public_html/wp-includes/class-wp-hook.php on line 285

I have debugged that already and it goes away if I deactivate the theme. What can I do to avoid such warning or to avoid the problem?
The file goes up to several Gb if I do not delete it often.
Thanks

Post count: 35449

Hi Valerio, from what I can see the warning is in WordPress files “/home/customer/www/universita.it/public_html/wp-includes/class-wp-hook.php” also we do not tested the wpcf7_recaptcha_onload_script code, therefore we do not know how this is working and hos should be implemented with our theme, therefore we ca not say if is working or not with our theme.
If you can provide some more details about this code and how this was implemented in the theme, I can try to help you, I’m not sure if I can help, but I will try!
Thank you for your understating!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newsmag’ is closed to new topics and replies.