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

Support archive

LV throwing php error when saving any group with grid in it.

Josh Brodleit 23 Mar 2018 23:37 problem, complete

Getting php errors on save whenever grid field present in group. Low Variables 3.1.0 and ExpressionEngine 4.1.3. Please advise.

Notice
Undefined index: field_search
ee/EllisLab/Addons/grid/ft.grid.php, line 62

Severity: E_NOTICE
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)
ee/legacy/core/Input.php, line 233

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)
ee/legacy/libraries/Functions.php, line 392

Severity: E_WARNING

Replies

  1. Low 24 Mar 2018 13:14

    Reproduced, and it could be considered an EE bug. Will confer with EllisLab.

    For now, you can fix it by opening up ee/EllisLab/Addons/grid/ft.grid.php and look up line 62 which reads

    if ($this->settings['field_search'])


    Change that to

    if (@$this->settings['field_search'])


    and that should solve the issue.

  2. Low 24 Mar 2018 13:18

    Bug report submitted here: https://expressionengine.com/support/...

  3. Low 17 Apr 2018 10:20

    Should be fixed in EE 4.2.0.