Title: undefined array key 0
Last modified: August 18, 2023

---

# undefined array key 0

 *  Resolved [adejones](https://wordpress.org/support/users/adejones/)
 * (@adejones)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/undefined-array-key-0-4/)
 * Hi, each time I run plugin updates using WP-CLI I get the following:
 * Warning: Undefined array key 0 in /home/xxxxxxx/wp-content/plugins/all-in-one-
   wp-security-and-firewall/classes/wp-security-audit-events.php on line 158
 * Any ideas?

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

 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/undefined-array-key-0-4/#post-16984833)
 * Hi [@adejones](https://wordpress.org/support/users/adejones/)
 * AIOS version 5.2.2 this issue was fixed. Which version are you using right now?
 * Latest released version is 5.2.4 so if you have older version it might be the
   issue let me know if that is not the case.
 * Regards
    -  This reply was modified 2 years, 9 months ago by [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/).
 *  Thread Starter [adejones](https://wordpress.org/support/users/adejones/)
 * (@adejones)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/undefined-array-key-0-4/#post-16985031)
 * I was updating to 5.2.4 from one previous to 5.2.2
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/undefined-array-key-0-4/#post-16986315)
 * Ok,
 * Keep me posted.
 * Regards

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

The topic ‘undefined array key 0’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/undefined-array-key-0-4/#post-16986315)
 * Status: resolved