?
avatar Kubik-Rubik
Kubik-Rubik
9 Jun 2017

Steps to reproduce the issue

Add the example from the documentation (https://docs.joomla.org/Subform_form_field_type) to any XML manifest file and set the layout to "joomla.form.field.subform.default" -> layout="joomla.form.field.subform.default"

Error: 0 Call to a member function getGroup() on null

Only tested in Joomla! 3.7.2, previous versions could also be affected!

Expected result

Form is loaded properly with the default subform layout.

Actual result

Page is loaded only partly with the mentioned error above.

System information (as much as possible)

Joomla! 3.7.2, PHP 7.1.5

Additional comments

The layout "joomla.form.field.subform.repeatable-table" is also rendered "weird" (no spacing, text input type too wide etc.) due to changes in Isis (probably since 3.7). Should also be improved!

avatar Kubik-Rubik Kubik-Rubik - open - 9 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - change - 9 Jun 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Jun 2017
avatar Kubik-Rubik Kubik-Rubik - change - 9 Jun 2017
The description was changed
avatar Kubik-Rubik Kubik-Rubik - edited - 9 Jun 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Jun 2017
Category Fields
avatar Kubik-Rubik Kubik-Rubik - change - 13 Jun 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-06-13 11:26:08
Closed_By Kubik-Rubik
avatar Kubik-Rubik Kubik-Rubik - close - 13 Jun 2017
avatar Kubik-Rubik
Kubik-Rubik - comment - 13 Jun 2017

Cannot reproduce this behavior on another instance. Looks like a local problem, I will investigate further. This issue entry can be closed for now!

avatar boomsya
boomsya - comment - 9 Oct 2017

Joomla 3.8.1 - PHP 7.0.14
The same error when I try to collect list of items in remote Postgre DB
try to find solution

avatar boomsya
boomsya - comment - 9 Oct 2017

My problem in echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this));

avatar Kubik-Rubik
Kubik-Rubik - comment - 9 Oct 2017

@boomsya Please open a new issue else your comment will get lost in this closed issue. Thanks!

avatar boomsya
boomsya - comment - 10 Oct 2017

i dont want :) problem solved by deleting this line

avatar emuthomi
emuthomi - comment - 6 Mar 2018

Had a similar issue today, turned out to be a missing reference to the filter form.
Solved by adding this in the View class display() function:

$this->filterForm = $this->get('FilterForm');

Add a Comment

Login with GitHub to post a comment