Title: Warning: Undefined array key &#8220;sfw_outdated&#8221;
Last modified: November 14, 2021

---

# Warning: Undefined array key “sfw_outdated”

 *  Resolved [kuanbc](https://wordpress.org/support/users/kuanbc/)
 * (@kuanbc)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-sfw_outdated/)
 * Hi, I receved these two warnings in php8
 * Warning: Undefined array key “sfw_outdated” in /www/your_domain/public/wp-content/
   plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/State.php on line 581
 * Warning: Undefined array key “sfw_outdated” in /www/your_domain/public/wp-content/
   plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/State.php on line 591

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

 *  Plugin Support [sergecleantalk](https://wordpress.org/support/users/sergecleantalk/)
 * (@sergecleantalk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-sfw_outdated/#post-15066869)
 * Hello,
 * I will ask our developers about this. We will contact you within 1-3 days.
 *  Thread Starter [kuanbc](https://wordpress.org/support/users/kuanbc/)
 * (@kuanbc)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-sfw_outdated/#post-15066940)
 * HI, I was testing php8 in a staging site. Somehow there is no warning message
   show in my live site after I upgraded the live site sever to php8.
 *  Plugin Support [amagsumov](https://wordpress.org/support/users/amagsumov/)
 * (@amagsumov)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-sfw_outdated/#post-15067038)
 * Hello
 * So, does the error appear only on your staging site, but not on live one?
 * Thank you.
 *  Thread Starter [kuanbc](https://wordpress.org/support/users/kuanbc/)
 * (@kuanbc)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-sfw_outdated/#post-15067111)
 * Hi, I just checked again and somehow the warnings are gone on both live and staging
   sites.
    I will mark this topic as resolved. Thank you~

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

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

 * ![](https://ps.w.org/cleantalk-spam-protect/assets/icon-256x256.gif?rev=3539767)
 * [CleanTalk Anti-Spam. Spam Firewall & Bot protection](https://wordpress.org/plugins/cleantalk-spam-protect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cleantalk-spam-protect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cleantalk-spam-protect/)
 * [Active Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cleantalk-spam-protect/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [kuanbc](https://wordpress.org/support/users/kuanbc/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-sfw_outdated/#post-15067111)
 * Status: resolved