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

Support archive

Low Variables with a Grid field with a Content Elements field inside throws PHP errors

rowan.sentesy 9 May 2016 18:14 problem, rejected

I'm a new convert to Low Variables. Its a brilliant add on. It is so useful for so many reasons. Thank you!

I'm having issues with Content Elements inside a Grid field inside a Low Variable. In my mind this seems like a really awesome way to handle landing pages where I don't want to make a channel to store the info. The grid lets me create multiple rows, and Content Elements allows me to create rich and easily editable content blocks.

Here's the error details:

I'm getting errors every time I save a Low Variables group that contains a Grid variable with a field that is a Content Elements field.
It seems to save basic fields like text boxes but the php error sticks and you have to go back and reload to see the changes.

ENVIRONMENT:
ExpressionEngine v2.10.1
Content Elements 1.7.2

ERROR MESSAGE:
A PHP Error was encountered

Severity: Notice

Message: Undefined property: Addons_modules::$api_channel_structure

Filename: content_elements/ft.content_elements.php

Line Number: 430

Fatal error: Call to a member function get_channel_info() on a non-object in /chroot/home/bfcom/bellyfit.com/html/system/expressionengine/third_party/content_elements/ft.content_elements.php on line 430

Replies

  1. Low 9 May 2016 18:31

    I'm afraid this isn't something I can fix... The error is triggered by Content Elements. With LV, I only provide an API for other people to use, so I'd contact CE's dev for this issue.

  2. rowan.sentesy 9 May 2016 18:50

    Hey Low,
    Thanks for the snappy response. I have a ticket open with them at the moment, but I thought you might have some insight into this from your end.

    I will follow up with them.

    Thank you,
    Rowan