Open pka246 opened 1 year ago
I'm getting the same errors on PHP v.8.0.28 running Oxygen 4.5.
Reproduced and reported internally at https://github.com/soflyy/oxygen/issues/5055.
I confirm I am still seeing these with PHP 8.2 on Oxygen 4.7:
[31-Aug-2023 14:39:32 UTC] PHP Warning: Undefined array key "icon-color" in /public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3023 [31-Aug-2023 14:39:32 UTC] PHP Warning: Undefined array key "icon-background-color" in /public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3024 [31-Aug-2023 14:39:32 UTC] PHP Warning: Undefined array key "icon-size" in /public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3026
When I upgrade to PHP version 8.2 then I am getting a warning like "undefined array key icon-color".
There is no checking for a variable set or not for keys "icon-padding", "icon-color", "icon-background-color", "icon-size".