Warning: Undefined array key
-
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.
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)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Warning: Undefined array key’ is closed to new replies.