Title: Undefined array keys on PHP8
Last modified: December 8, 2022

---

# Undefined array keys on PHP8

 *  Resolved [Rubsel](https://wordpress.org/support/users/rubsel/)
 * (@rubsel)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/undefined-array-keys-on-php8/)
 * Hi! I was playing around with this plugin on a development server where PHP8 
   is installed and found a lot of warnings like this:
 * `Warning: Undefined array key "contentBorderStyle" in .../wp-content/plugins/
   advanced-tabs-block/templates/tabs.php on line 29`
 * [The solution I found](https://stackoverflow.com/a/70549387) worked, but only
   if I changed the plugin files. Which is never the right way to fix it.
 * Is there a way these warnings can be fixed in the next update?
    Many thanks in
   advance!

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

 *  Plugin Author [Binsaifullah](https://wordpress.org/support/users/binsaifullah/)
 * (@binsaifullah)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/undefined-array-keys-on-php8/#post-16277037)
 * thanks for letting me know the issue, I will update the plugin by tomorrow with
   the issue fixed.
 *  Plugin Author [Binsaifullah](https://wordpress.org/support/users/binsaifullah/)
 * (@binsaifullah)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/undefined-array-keys-on-php8/#post-16277109)
 * Fixed the issues, please use the updated version: 1.1.2
 *  Thread Starter [Rubsel](https://wordpress.org/support/users/rubsel/)
 * (@rubsel)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/undefined-array-keys-on-php8/#post-16277147)
 * Thats awesome! And super fast! Havent seen the warning while testen!
    Thanks 
   dude! 😀

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

The topic ‘Undefined array keys on PHP8’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-tabs-block_a4a1a6.svg)
 * [Advanced Tabs Gutenberg Block](https://wordpress.org/plugins/advanced-tabs-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-tabs-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-tabs-block/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-tabs-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-tabs-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-tabs-block/reviews/)

## Tags

 * [array keys](https://wordpress.org/support/topic-tag/array-keys/)
 * [php 8](https://wordpress.org/support/topic-tag/php-8/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rubsel](https://wordpress.org/support/users/rubsel/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/undefined-array-keys-on-php8/#post-16277147)
 * Status: resolved