Getting an error in libs/function.php
-
I have a site that’s password protected and we’ve seen this error twice now, but with so many users, I’m not sure what was done to cause the error to happen.
Here are some details.
Error Details
=============
An error of type E_ERROR was caused in line 292 of the file public_html/content/plugins/advanced-google-recaptcha/libs/functions.php. Error message: Uncaught Error: Cannot use object of type WP_Error as array in /public_html/content/plugins/advanced-google-recaptcha/libs/functions.php:292
Stack trace:
#0 /public_html/content/plugins/advanced-google-recaptcha/libs/functions.php(214): WPCaptcha_Functions::handle_captcha()
#1 /public_html/wp-includes/class-wp-hook.php(324): WPCaptcha_Functions::wp_authenticate_username_password()
#2 /public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /public_html/wp-includes/pluggable.php(618): apply_filters()
#4 /public_html/wp-includes/user.php(106): wp_authenticate()
#5 /public_html/wp-login.php(1309): wp_signon()
#6 {main}
thrownWP v6.4.1
plugin version 1.14
PHP v8.1.25We do have a slighty different file structure. instead of wp-content we have the folder titled content using WP_CONTENT_URL and WP_CONTENT_DIR.
Any ideas on this?
The topic ‘Getting an error in libs/function.php’ is closed to new replies.