clef/clef-wordpress

Undefined index errors on Settings_API_Util

Closed this issue · 5 comments

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!

Hmm, we all develop with debug on, but have never seen those warning before. When did you see these errors?

It looks like those warnings are coming from this line where the errors are suppressed, what would cause those notices to appear?

The Debug Bar plugin.
Could you use isset() ?

or initialize options on plugin activation

fixed :)