Grid model error when saving group
Hey Low.
I have a group that contains a grid field on the latest EE and LV and all looked fine.
I then added a group description and when I submitted that, got the following errors:
====================
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: models/grid_model.php
Line Number: 479
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /Sites/inspiredchallenge.com/source/ee/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 446
A Database Error Occurred
Error Number: 1054
Unknown column 'col_id_' in 'order clause'
SELECT * FROM ('exp_low_variables_grid_field_3') WHERE 'entry_id' IN ('3') ORDER BY 'col_id_' asc
Filename: models/grid_model.php
Line Number: 396
====================
Now when I try and access the variables in this group by clicking the group on the left, I get the same errors so can't continue.
Any suggestions please?
Thanks
Replies
Low 8 May 2014 15:23
You added notes to the variable group and that triggered the error? I just tried this and couldn't reproduce...
The error you're seeing is generated by Grid itself -- I just call its methods as per its API. Apparently, something wonky is going on.
I can try and track the issue (which is more a Grid/EllisLab issue than a LV one), but I'll need to take a look at your install myself for that -- both SuperAdmin and FTP access would be needed.
Russ Back 9 May 2014 10:01
Thanks, Low. This is not yet on a publicly accessible URL so I'll let you know when it is and if it's still an issue. How should we send you login details?
Low 9 May 2014 10:02
You can send those to hi at gotolow dot com.