EE v2.7.2
A PHP Error was encountered Severity: Notice Message: Undefined offset: 22 Filename: libraries/Grid_parser.php Line Number: 155
A PHP Error was encountered Severity: Notice Message: Undefined offset: 22 Filename: libraries/Grid_parser.php Line Number: 372
In my template, I have the following grid field, the short name of the field is called: cholesterol:
{cholesterol}
{cholesterol:cholesterol} {cholesterol:daily_value}
{/cholesterol}I removed everything on the page, except that above, and it still displays an error. I know the field is filled in for that channel entry I am viewing.
I have a grid field working in another channel/channel field group/template, but none of the grid fields in this field group are working.
I’m seeing the same PHP error message:
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 30
Filename: libraries/Grid_parser.php
Line Number: 157I’m using a Grid field on EE 2.7.3 that has a relationship field in the grid.
I tried renaming the grid, but to no avail. This is my template code:
{menus_to_display}
<li class="tabs tabs-menu">
<a href="#tab{menus_to_display:count}%22id=%22trigger{menus_to_display:count}" class="tabs-menu">_ {menus_to_display:listing}_ {menus_to_display:listing:title}_ {/menus_to_display:listing}_ </a>
</li>
{/menus_to_display}{menus_to_display} is the grid field, {menus_to_display:listing} is the relationship field in the grid field.
This shouldn’t be a namespace issue… anyone have any ideas?
Has this issue been resolved yet? If not, please refer to getting over it, maybe you will find a solution.
You’re encountering a PHP Notice: Undefined Offset in Grid_parser.php, which typically means ExpressionEngine (EE) Sprunki is trying to access an array index that doesn’t exist. Since it’s occurring on line 155 and line 372, it likely has to do with how EE is parsing your Grid field data.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.