• Resolved eugenio

    (@eugenio)


    I am writing to request assistance with an error that I am experiencing with the hCaptcha for WordPress plugin. I have received an email from my website stating that there is a technical issue related to the plugin. The error message indicates that there is an issue with the array_filter() function and that the plugin is receiving a null value instead of an array.

    I have visited my website and the page where the error was detected, and I have confirmed that there are visible issues. I have also checked the information provided in the email, which includes the WordPress version, active theme, current plugin, and PHP version.
    I would appreciate any assistance you can provide in resolving this issue. Please let me know if you need any additional information from me. For your convinience I have added the error code below:

    Error Details
    =============
    An error of type E_ERROR was caused in line 108 of the file /nas/content/live/intensivec/wp-content/plugins/hcaptcha-for-forms-and-more/src/php/Abstracts/LoginBase.php. Error message: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in /nas/content/live/intensivec/wp-content/plugins/hcaptcha-for-forms-and-more/src/php/Abstracts/LoginBase.php:108
    Stack trace:
    #0 /nas/content/live/intensivec/wp-content/plugins/hcaptcha-for-forms-and-more/src/php/Abstracts/LoginBase.php(108): array_filter(NULL, Object(Closure))
    #1 /nas/content/live/intensivec/wp-content/plugins/hcaptcha-for-forms-and-more/src/php/WP/Login.php(56): HCaptcha\Abstracts\LoginBase->is_login_limit_exceeded()
    #2 /nas/content/live/intensivec/wp-includes/class-wp-hook.php(308): HCaptcha\WP\Login->add_captcha(”)
    #3 /nas/content/live/intensivec/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #4 /nas/content/live/intensivec/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /nas/content/live/intensivec/wp-login.php(1447): do_action(‘login_form’)
    #6 {main}
    ? thrown

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error with hCaptcha array_filter() issue’ is closed to new replies.