Title: Warning: Undefined array key
Last modified: January 2, 2023

---

# Warning: Undefined array key

 *  Resolved [karlemilnikka](https://wordpress.org/support/users/karlemilnikka/)
 * (@karlemilnikka)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-13/)
 * After upgrading to Spectra 2.1 or later, I often get a warning at the top of 
   our site with the following message. This is not an issue with Spectra 2.0.16
   or lower.
 *     ```wp-block-code
       Warning: Undefined array key "paddingLeft" in /public_html/wp-content/plugins/ultimate-addons-for-gutenberg/includes/blocks/post-grid/frontend.css.php on line 70
   
       Warning: Undefined array key "paddingRight" in /public_html/wp-content/plugins/ultimate-addons-for-gutenberg/includes/blocks/post-grid/frontend.css.php on line 71
       ```
   
 * The warning shows up even though debug isn’t enabled. It might be related to 
   our usage of WP Rocket since clearing the cache removes the warning for a while.
   The site is running WordPress 6.1.1 and is powered by PHP 8.0. File generation
   is enabled for Spectra assets.

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

 *  Thread Starter [karlemilnikka](https://wordpress.org/support/users/karlemilnikka/)
 * (@karlemilnikka)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-13/#post-16337588)
 * The Spectra developers have confirmed the issue in the [official Facebook group](https://www.facebook.com/groups/wpspectra/posts/718877546200321?comment_id=719278376160238).
   It will be addressed in the next update.
 *  [Mohsin Ghouri](https://wordpress.org/support/users/mohsinbsf/)
 * (@mohsinbsf)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-13/#post-16338346)
 * Hi [@karlemilnikka](https://wordpress.org/support/users/karlemilnikka/),
 * Thanks for the update. I am marking this thread resolved.
 * Please feel free to open a new thread if you face any issue.
 * Have a nice day!
 *  Thread Starter [karlemilnikka](https://wordpress.org/support/users/karlemilnikka/)
 * (@karlemilnikka)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-13/#post-16338614)
 * Thanks for the reply. Please keep it as unresolved until the patch is out and
   the issue actually is resolved.
 *  [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * (@judith0)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-13/#post-16352347)
 * Hello [@karlemilnikka](https://wordpress.org/support/users/karlemilnikka/),
 * Sure, we’ll keep this open, however, I would also request you keep checking our
   [changelog](https://wpspectra.com/changelog/) because that’s where the updates
   are well highlighted immediately after they are done.
 * Regards.
 * Judith.
 *  Thread Starter [karlemilnikka](https://wordpress.org/support/users/karlemilnikka/)
 * (@karlemilnikka)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-13/#post-16367592)
 * Issue fixed in Spectra 2.3.0.
 *  [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * (@judith0)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-13/#post-16437692)
 * Hello [@karlemilnikka](https://wordpress.org/support/users/karlemilnikka/),
 * Glad this was fixed for you.
 * It is always our pleasure to render good customer support service to amazing 
   customers like you, and we will continue to do so. We do everything we can to
   help, and we are happy that you found our support helpful today.
 * By the way, I was wondering if you might be able to help us as well. If you don’t
   mind, I’d appreciate it if you could give Spectra a 5-star through our [profile on W.org](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/reviews/?filter=5#new-post)
   and tell others how you feel about it.
 * This would help other users make a comfortable decision while choosing the theme
   and be assured of our support.
 * Please spare the time to let me know if/when you leave the review so I can say
   mine thank you!
 *  Thread Starter [karlemilnikka](https://wordpress.org/support/users/karlemilnikka/)
 * (@karlemilnikka)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-13/#post-16439966)
 * I’ll leave a review when the product is a little more mature. Based on all the
   update issues we’ve had for the past couple of months, it doesn’t feel like a
   stable plugin yet so my review wouldn’t be fair.
 *  [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * (@judith0)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-13/#post-16478126)
 * Hello [@karlemilnikka](https://wordpress.org/support/users/karlemilnikka/),
 * Thanks for writing back.
 * Thanks for sharing your feedback with us. We have worked on the various issues
   that users have raised with our plugin to the level we are confident it is stable,
   however we also appreciate feedback as it helps us improve on the areas highlighted
   by our users, which in turn makes our product better.
 * Allow me to mark this as resolved.
 * Please feel free to open a new thread in case of any other queries.
 * Regards.
 * Judith.

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

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

 * ![](https://ps.w.org/ultimate-addons-for-gutenberg/assets/icon-256x256.gif?rev
   =3240412)
 * [Spectra Gutenberg Blocks – Website Builder for the Block Editor](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-13/#post-16478126)
 * Status: resolved