farinspace/wpalchemy — Issue #31: Undefined Index
Author: thelukemcdonald
Created: 2011-11-07 22:27:28+00:00
State: open

I'm getting an Undefined Index notice for meta boxes that have options but do not have at least one set. For example, one metabox has three checkboxes. If one checkbox is not set, I get the following PHP Notice:

PHP Notice: Undefined index: _example_metabox in /Users/.../MetaBox.php on line 2162

After I check a box, the notice goes away. I know it doesn't hurt anything, but I would rather not have it show at all. This notice gets generated for each meta box ID that does not have an option set. It also gets generated when the post Auto-Saves... which ends up filling up my debug file while in development :)

Any ideas on a quick fix?

Setup Details:
WordPress Version: 3.3-beta2-19067 Multi-site
WPAlchemy Version: 1.4.15