Crash on the Joomla 3 front-end
I can't access SobiPro section on the Joomla 3.10.6 front-end, got following error:
0 Call to a member function get() on null
/home/sikorasobipro/test4.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla_common/base/user.php:378
- Call stack
-
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/user.php:378
- 2 SPJoomlaUser::getCurrent() JROOT/components/com_sobipro/lib/base/factory.php:164
- 3 SPFactory::user() JROOT/components/com_sobipro/lib/sobi.php:537
- 4 Sobi::My() JROOT/components/com_sobipro/lib/models/dbobject.php:221
- 5 SPDBObject->__construct() JROOT/components/com_sobipro/lib/ctrl/controller.php:63
- 6 SPController->setModel() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:492
- 7 SobiProCtrl->routeObj() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:304
- 8 SobiProCtrl->route() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:159
- 9 SobiProCtrl->__construct() JROOT/components/com_sobipro/sobipro.php:54
- 10 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
- 11 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
- 12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
- 13 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
- 14 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
- 15 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49
tested with SobiPro 2.0.0.37 RC and Joomla 3.10.6 on both PHP 7.4 and 8