Support » Plugin: AntiSpam for Contact Form 7 » Warning: Undefined array key “mailbox_protection_multiple_send”

  • Resolved oceandigitals

    (@oceandigitals)


    Ciao guys!

    I just upgraded to php 8.2 and now I have this warning:

    Warning: Undefined array key “mailbox_protection_multiple_send” in/wp-content/plugins/cf7-antispam/core/CF7_AntiSpam_Frontend.php on line 312

    I just wanted to notify you

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter oceandigitals

    (@oceandigitals)

    I did the following on line 312 to solve it temporary:

    if (isset($this->options[‘mailbox_protection_multiple_send’])){
    if ( intval( $this->options[‘mailbox_protection_multiple_send’] ) === 1 ) {
    $fields[ $prefix . ‘hash’ ] = $this->generateHash();
    }
    }

    Plugin Author Erik

    (@codekraft)

    Ah thanks @oceandigitals for the report, i’ve already fixed it and very soon I will publish a ‘patch’ version with an additional extra feature for exporting/importing options! 🚀

    Plugin Author Erik

    (@codekraft)

    fixed in 0.6.2. thanks!

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