ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Grid Parsing Error (Core 2.7.2 when logged in)

October 21, 2013 2:48pm

Subscribe [1]
  • #1 / Oct 21, 2013 2:48pm

    jondaiello

    15 posts

    Anyone else having an issue with the output of Grid field types? I’m seeing this error on my templates only when logged in. It also appears to only be on pages that are using grid fields:

    A PHP Error was encountered
    Severity: Notice
    Message: Undefined variable: field_ids
    Filename: libraries/Grid_parser.php
    Line Number: 103
    
    A PHP Error was encountered
    Severity: Warning
    Message: array_unique() expects parameter 1 to be array, null given
    Filename: libraries/Grid_parser.php
    Line Number: 103
    
    A PHP Error was encountered
    Severity: Warning
    Message: Cannot modify header information - headers already sent by (output started at *[confidential]*/codeigniter/system/core/Exceptions.php:170)
    Filename: core/Common.php
    Line Number: 408
  • #2 / Oct 21, 2013 2:54pm

    jondaiello

    15 posts

    For those interested with the same, I solved the issue. Be sure you use your grid field tags to open and close before calling your grid fields. For example:

    {fieldname}
      {fieldname:grid_field}
    {/fieldname}

    Otherwise you will have the above error!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases