All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Undefined Index 'group'

Ed J 1 Aug 2011 03:42 question,

I was receiving "Undefined index 'group'" errors from PHP in the EE 1.6.8 control panel, pointing to system/modules/low_variables/views/home.php on line 75.

To fix this, I added an "isset" test to line 75, resulting in the following:

I also had the same situation with line 123 of the same file, and applied the same fix.

And I had a similar error message from mcp.low_variables.php on line 1183, where I changed it to

if ((isset($this->types[$var_type])) and (method_exists($this->types[$var_type], 'save_input')))

Any comments (such as "don't do that!")?

Replies

  1. Low 1 Aug 2011 08:05

    Hey Ed,

    What version of LV are we talking about here? And were you doing anything in particular when you got these errors? Like (un)installing variable types?