There are a lot of array offsets not being checked for existence / not given a default value throughout the plugin. This results in a significant amount of unwanted PHP notices.
Me and my development team use the Whoops library for errors and we get a lot of error screens.
Here the offset enable_ginger is not always present. Resulting in an Undefined index: enable_ginger
Could you either check or provide a default variable so these notices will disappear?
Maybe use something like XDebug, Whoops, Symfony Console etc. to walk through the notices.
There are several notices on:
Every tab in the WP Admin
On the site itself when the cookie banner is being shown and certain offsets are not present.
There are a lot of array offsets not being checked for existence / not given a default value throughout the plugin. This results in a significant amount of unwanted PHP notices.
Me and my development team use the Whoops library for errors and we get a lot of error screens.
For instance in
admin/partial/general.php
:Here the offset
enable_ginger
is not always present. Resulting in anUndefined index: enable_ginger
Could you either check or provide a default variable so these notices will disappear? Maybe use something like XDebug, Whoops, Symfony Console etc. to walk through the notices.
There are several notices on:
Thanks in advance!