Undefined index errors on Settings_API_Util
Closed this issue · 5 comments
szepeviktor commented
NOTICE: wp-content/plugins/wpclef/includes/lib/Settings_API_Util.inc:228 - Undefined index: clef_password_settings_force
NOTICE: wp-content/plugins/wpclef/includes/lib/Settings_API_Util.inc:228 - Undefined index: clef_password_settings_xml_allowed
Thank you!
jessepollak commented
Hmm, we all develop with debug on, but have never seen those warning before. When did you see these errors?
jessepollak commented
It looks like those warnings are coming from this line where the errors are suppressed, what would cause those notices to appear?
szepeviktor commented
The Debug Bar plugin.
Could you use isset() ?
szepeviktor commented
or initialize options on plugin activation
jessepollak commented
fixed :)