• Resolved chatchat

    (@chatchat)


    Hello,

    I get this error message:

    Une erreur de type E_ERROR a été causée dans la ligne 88 du fichier /home/www/new-site/www/wp-content/plugins/hcaptcha-for-forms-and-more/src/php/Abstracts/LoginBase.php. Message d’erreur : Uncaught ArgumentCountError: Too few arguments to function HCaptcha\Abstracts\LoginBase::login_failed(), 1 passed in /home/www/new-site/www/wp-includes/class-wp-hook.php on line 308 and exactly 2 expected in /home/www/new-site/www/wp-content/plugins/hcaptcha-for-forms-and-more/src/php/Abstracts/LoginBase.php:88

    WordPress version 6.1.1
    Extension actuelle?: hCaptcha for WordPress (version 2.5.1)
    PHP version 7.4.16

Viewing 1 replies (of 1 total)
  • Plugin Contributor kaggdesign

    (@kaggdesign)

    Thank you for the report. This cannot happen in the latest WP versions. The second argument was added in WP 5.4. Maybe some of your plugins create this issue, calling do_action( 'wp_login_failed', $username ). You can check it by deactivating all plugins.

    Nevertheless, as hCaptcha plugin can work since WP 5.0, I have fixed this bug in lower WP versions. The fix is added to v2.6.0, which will be released in the first days of March.

Viewing 1 replies (of 1 total)
  • The topic ‘E_ERROR was caused in line 88’ is closed to new replies.