Hello,
I am working with the MyWalks demo example while learning Joomla. It is a great demo component where things come nicely together.
I, however, stumbled upon the following problem.
Adding this line
to default.php in one of my view templates gives the following error
Thanks!
I am working with the MyWalks demo example while learning Joomla. It is a great demo component where things come nicely together.
I, however, stumbled upon the following problem.
Adding this line
Code:
<?php echo LayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?>
to default.php in one of my view templates gives the following error
Any hint what may be wrong? I have set up a model and associated view files. I can fetch and display all items nicely in a table but adding the above line crashes the view.An error has occurred.
0 Call to a member function getGroup() on null
Call stack
# Function Location
1 () JROOT\layouts\joomla\searchtools\default\bar.php:29
...
...
Thanks!
Statistics: Posted by JanoD — Mon Jun 03, 2024 5:14 pm