Match Capcha stopped me from updating a weborm containing this catcha:
WordPress versie 6.6.2
Actief thema: Baskerville (versie 2.2.2) Huidige plugin: Math Captcha (versie 1.2.10) PHP versie 8.0.30
Foutdetails
===========
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 644 van het bestand /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/wp-math-captcha/includes/class-core.php. Fout bericht: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/wp-math-captcha/includes/class-core.php:644
Stack trace:
#0 /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/wp-math-captcha/includes/integrations/contact-form-7.php(39): Math_Captcha_Core->generate_captcha_phrase(‘cf7’)
#1 /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/contact-form-7/includes/form-tags-manager.php(551): wpcf7_mathcaptcha_shortcode_handler(Object(WPCF7_FormTag))
#2 /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/contact-form-7/includes/form-tags-manager.php(460): WPCF7_FormTagsManager->scan_callback(Array, true)
#3 [internal function]: WPCF7_FormTagsManager->replace_callback(Array)
#4 /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/contact-form-7/includes/form-tags-manager.php(356): preg_replace_callback(‘/(\\[?)\\[(mathca…’, Array, ‘ Je n…’)
#5 /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/contact-form-7/includes/form-tags-manager.php(328): WPCF7_FormTagsManager->scan(‘ Je n…’, true)
#6 /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/contact-form-7/includes/contact-form.php(893): WPCF7_FormTagsManager->replace_all(‘ Je n…’)
#7 /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/contact-form-7/includes/contact-form.php(959): WPCF7_ContactForm->replace_all_form_tags()
#8 /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/contact-form-7/includes/contact-form.php(659): WPCF7_ContactForm->form_elements()
#9 /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/contact-form-7/includes/contact-form-functions.php(269): WPCF7_ContactForm->form_html(Array)
#10 [internal function]: {closure}(Object(WPCF7_ContactForm), Array)
#11 /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/contact-form-7/includes/l10n.php(147): call_user_func(Object(Closure), Object(WPCF7_ContactForm), Array)
#12 /customers/7/a/4/xxxx.nl/httpd.www/wp-content/plugins/contact-form-7/includes/contact-form-functions.php(273): wpcf7_switch_locale(‘nl_NL’, Object(Closure), Object(WPCF7_ContactForm), Array)