• Resolved alfy40

    (@alfy40)


    Hello,

    The plugin has been working fine for me for a long time. However recently (I presume following one of the latest updates), it causes a WordPress fatal error whenever I try editing a page that contains a Contact 7 form that uses the Captcha.

    The error is the following:

    PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /wp-content/plugins/wp-advanced-math-captcha/includes/class-core.php:1442
    Stack trace: 0 /wp-content/plugins/wp-advanced-math-captcha/includes/integrations/contact-form-7.php(39): Math_Captcha_Core->generate_captcha_phrase() 1 /wp-content/plugins/contact-form-7/includes/form-tags-manager.php(549): wpcf7_mathcaptcha_shortcode_handler() 2 /wp-content/plugins/contact-form-7/includes/form-tags-manager.php(459): WPCF7_FormTagsManager->scan_callback() 3 [internal function]: WPCF7_FormTagsManager->replace_callback() 4 /wp-content/plugins/contact-form-7/includes/form-tags-manager.php(355): preg_replace_callback() 5 /wp-content/plugins/contact-form-7/includes/form-tags-manager.php(327): WPCF7_FormTagsManager->scan() 6 /” while reading response header from upstream, client: x.x.x.x, server: foobar.ch, request: “GET /wp-admin/post.php?post=1541&action=edit HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php8.1-fpm.sock:”, host: “foobar.ch”, referrer: “xxx”

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.