I created a very basic grid field (3 cols: text, rte, date)
My template code looks like this:
{exp:channel:entries channel="grid_test"}
{g_field}
{g_field:simple_text}<br />
{g_field:rich_text}<br />
{g_field:date}<hr />
{/g_field}
{/exp:channel:entries}When I load the frontend I get the following errors:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Api_channel_fields::$field_type
Filename: libraries/Api.php
Line Number: 294
A PHP Error was encountered
Severity: Notice
Message: Undefined index:
Filename: libraries/Grid_parser.php
Line Number: 599Very strange, I’m unable to reproduce. If you view the grid_columns table, do any of them have a blank value for “col_type”? For some reason, it looks like the fieldtype isn’t getting instantiated properly when trying to replace the tag. I think I’ve seen it happen one other time in a bug report but don’t see how it happens.
Does this install happen to be on a remote server where I could have access, poke around and debug?
Sorry I think I have PMs disabled, do you mind sending it again to my email address? [email protected]
Thanks a lot, this will be a big help!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.