Fatal error with disabled cache and PHP8
This issue happens only when we are on the non-SobiPro page where entries module is displayed. Additionally Data Accelerator need to be disabled, or cache isn't build yet and PHP8 is used, then we got following error:
If difficulties persist, please contact the website administrator and report the error below.
0 Undefined constant "SOBI_ACL"
- Call stack
-
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/user.php:217
- 2 SPJoomlaUser->authorisePermission() JROOT/components/com_sobipro/lib/cms/joomla_common/base/user.php:158
- 3 SPJoomlaUser->can() JROOT/components/com_sobipro/lib/sobi.php:274
- 4 Sobi::Can() JROOT/components/com_sobipro/lib/models/entry.php:686
- 5 SPEntry->checkCopy() JROOT/components/com_sobipro/lib/models/entry.php:595
- 6 SPEntry->loadFields() JROOT/components/com_sobipro/lib/models/entry.php:128
- 7 SPEntry->loadTable() JROOT/components/com_sobipro/lib/models/dbobject.php:865
- 8 SPDBObject->extend() JROOT/components/com_sobipro/lib/models/dbobject.php:886
- 9 SPDBObject->init() JROOT/components/com_sobipro/lib/base/factory.php:391
- 10 SPFactory::Entry() JROOT/components/com_sobipro/lib/views/section.php:309
- 11 SPSectionView->entry() JROOT/modules/mod_sobipro_entries/view.php:56
- 12 SPEntriesModuleView->display() JROOT/modules/mod_sobipro_entries/entrieshelper.php:109
- 13 SPEntriesMod->display() JROOT/modules/mod_sobipro_entries/entrieshelper.php:51
- 14 SPEntriesMod::ListEntries() JROOT/modules/mod_sobipro_entries/mod_sobipro_entries.php:32
- 15 include() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:54
- 16 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:57
- 17 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:295
- 18 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:167
- 19 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:102
- 20 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT/libraries/src/Document/HtmlDocument.php:706
- 21 Joomla\CMS\Document\HtmlDocument->countModules() JROOT/templates/cassiopeia/index.php:109
- 22 require() JROOT/libraries/src/Document/HtmlDocument.php:779
- 23 Joomla\CMS\Document\HtmlDocument->_loadTemplate() JROOT/libraries/src/Document/HtmlDocument.php:838
- 24 Joomla\CMS\Document\HtmlDocument->_fetchTemplate() JROOT/libraries/src/Document/HtmlDocument.php:641
- 25 Joomla\CMS\Document\HtmlDocument->parse() JROOT/libraries/src/Application/CMSApplication.php:1025
- 26 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:802
- 27 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:284
- 28 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
- 29 require_once() JROOT/index.php:32