Title: Warning: Undefined array key &#8220;mailbox_protection_multiple_send&#8221;
Last modified: January 24, 2024

---

# Warning: Undefined array key “mailbox_protection_multiple_send”

 *  Resolved [oceandigitals](https://wordpress.org/support/users/oceandigitals/)
 * (@oceandigitals)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-mailbox_protection_multiple_send/)
 * 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](https://wordpress.org/support/users/oceandigitals/)
 * (@oceandigitals)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-mailbox_protection_multiple_send/#post-17368959)
 * 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](https://wordpress.org/support/users/codekraft/)
 * (@codekraft)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-mailbox_protection_multiple_send/#post-17370759)
 * Ah thanks [@oceandigitals](https://wordpress.org/support/users/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](https://wordpress.org/support/users/codekraft/)
 * (@codekraft)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-mailbox_protection_multiple_send/#post-17377376)
 * fixed in 0.6.2. thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Warning: Undefined array key “mailbox_protection_multiple_send”’ is closed
to new replies.

 * ![](https://ps.w.org/cf7-antispam/assets/icon.svg?rev=2536700)
 * [AntiSpam for Contact Form 7](https://wordpress.org/plugins/cf7-antispam/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-antispam/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-antispam/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-antispam/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-antispam/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-antispam/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Erik](https://wordpress.org/support/users/codekraft/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-mailbox_protection_multiple_send/#post-17377376)
 * Status: resolved