component code attached and see attached video to reproduce
Which Joomla version are you compiling in?
5.2.2
Which PHP version are you compiling in?
8.3.14
Which Joomla versions are you targeting?
5x
Which PHP version are you targeting?
8.x
Which Web server is JCB running on?
Apache 2.4
Which Relational Database is JCB running on?
MariaDB 10.4.34
Which OS is JCB running on?
Ubuntu 20
Which JCB version are you using?
5.0.3 stable
Where in JCB did this issue occur?
Other
On which browsers did you encounter the issue?
Chrome
Additional Comments
No response
### What Happened?
I have created a main view MARCHE (name and logo) and a detail view MODELLI (with a custom field and a name)
when i create MARCHE record -> all good
when i create a MODELLI record and back to the list:
**0 Call to a member function getGroup() on null**
Call Stack
Function Location
1 () JROOT/layouts/joomla/searchtools/default/bar.php:29
2 include() JROOT/libraries/src/Layout/FileLayout.php:128
3 Joomla\CMS\Layout\FileLayout->render() JROOT/libraries/src/Layout/FileLayout.php:636
4 Joomla\CMS\Layout\FileLayout->sublayout() JROOT/layouts/joomla/searchtools/default.php:90
5 include() JROOT/libraries/src/Layout/FileLayout.php:128
6 Joomla\CMS\Layout\FileLayout->render() JROOT/libraries/src/Layout/LayoutHelper.php:76
7 Joomla\CMS\Layout\LayoutHelper::render() JROOT/administrator/components/com_mpgav/tmpl/modelli/default.php:43
8 include() JROOT/libraries/src/MVC/View/HtmlView.php:416
9 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:204
10 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_mpgav/src/View/Modelli/HtmlView.php:163
11 StefanoLab\Component\Mpgav\Administrator\View\Modelli\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
12 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_mpgav/src/Controller/DisplayController.php:52
13 StefanoLab\Component\Mpgav\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
14 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
15 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
16 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
17 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:195
18 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
19 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
20 require_once() JROOT/administrator/index.php:32
### Steps to reproduce the Bug
component code attached and see attached video to reproduce
### Which Joomla version are you compiling in?
5.2.2
### Which PHP version are you compiling in?
8.3.14
### Which Joomla versions are you targeting?
5x
### Which PHP version are you targeting?
8.x
### Which Web server is JCB running on?
Apache 2.4
### Which Relational Database is JCB running on?
MariaDB 10.4.34
### Which OS is JCB running on?
Ubuntu 20
### Which JCB version are you using?
5.0.3 stable
### Where in JCB did this issue occur?
Other
### On which browsers did you encounter the issue?
Chrome
### Additional Comments
_No response_
Hi @smarano,
This issue has been addressed in newer versions of JCB and should no longer be a problem.
Please update to the latest version of JCB to benefit from the latest fixes and improvements.
Since this issue has been resolved, we will be closing it.
Hi @smarano,
This issue has been addressed in newer versions of JCB and should no longer be a problem.
Please update to the [latest version of JCB](https://git.vdm.dev/joomla/pkg-component-builder/releases) to benefit from the latest fixes and improvements.
Since this issue has been resolved, we will be closing it.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What Happened?
I have created a main view MARCHE (name and logo) and a detail view MODELLI (with a custom field and a name)
when i create MARCHE record -> all good
when i create a MODELLI record and back to the list:
0 Call to a member function getGroup() on null
Call Stack
Function Location
1 () JROOT/layouts/joomla/searchtools/default/bar.php:29
2 include() JROOT/libraries/src/Layout/FileLayout.php:128
3 Joomla\CMS\Layout\FileLayout->render() JROOT/libraries/src/Layout/FileLayout.php:636
4 Joomla\CMS\Layout\FileLayout->sublayout() JROOT/layouts/joomla/searchtools/default.php:90
5 include() JROOT/libraries/src/Layout/FileLayout.php:128
6 Joomla\CMS\Layout\FileLayout->render() JROOT/libraries/src/Layout/LayoutHelper.php:76
7 Joomla\CMS\Layout\LayoutHelper::render() JROOT/administrator/components/com_mpgav/tmpl/modelli/default.php:43
8 include() JROOT/libraries/src/MVC/View/HtmlView.php:416
9 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:204
10 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_mpgav/src/View/Modelli/HtmlView.php:163
11 StefanoLab\Component\Mpgav\Administrator\View\Modelli\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
12 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_mpgav/src/Controller/DisplayController.php:52
13 StefanoLab\Component\Mpgav\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
14 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
15 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
16 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
17 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:195
18 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
19 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
20 require_once() JROOT/administrator/index.php:32
Steps to reproduce the Bug
component code attached and see attached video to reproduce
Which Joomla version are you compiling in?
5.2.2
Which PHP version are you compiling in?
8.3.14
Which Joomla versions are you targeting?
5x
Which PHP version are you targeting?
8.x
Which Web server is JCB running on?
Apache 2.4
Which Relational Database is JCB running on?
MariaDB 10.4.34
Which OS is JCB running on?
Ubuntu 20
Which JCB version are you using?
5.0.3 stable
Where in JCB did this issue occur?
Other
On which browsers did you encounter the issue?
Chrome
Additional Comments
No response
[BUG]:to [BUG]: Call to a member function getGroup() on nullHi @smarano,
This issue has been addressed in newer versions of JCB and should no longer be a problem.
Please update to the latest version of JCB to benefit from the latest fixes and improvements.
Since this issue has been resolved, we will be closing it.