MikaelKjaerulff
New Member
Joomla: 4.2.8 Stable
PHP: 8.2.3
Fabrik: 4.0gamma2
After installing the gamma2 upgrade on top of beta4, I get an error when trying to create a new element:
An error has occurred.
0 syntax error, unexpected token "private", expecting end of file
I did not get any errors during upgrade.
I can select any old element from the list and edit/save it.
Stacktrace from J! System Debug:
error - Uncaught Throwable of type ParseError thrown with message "syntax error, unexpected token "private", expecting end of file". Stack trace:
#0 [ROOT]/libraries/src/Extension/ExtensionManagerTrait.php(157): Joomla\CMS\Application\CMSApplication->loadPluginFromFilesystem('thumbs', 'fabrik_element')
#1 [ROOT]/libraries/src/Extension/ExtensionManagerTrait.php(96): Joomla\CMS\Application\CMSApplication->loadExtension('Joomla\\CMS\\Exte...', 'thumbs:fabrik_e...', '/var/www/nsdgk....')
#2 [ROOT]/libraries/src/Plugin/PluginHelper.php(221): Joomla\CMS\Application\CMSApplication->bootPlugin('thumbs', 'fabrik_element')
#3 [ROOT]/libraries/src/Plugin/PluginHelper.php(181): Joomla\CMS\Plugin\PluginHelper::import(Object(stdClass), true, Object(Joomla\Event\Dispatcher))
#4 [ROOT]/administrator/components/com_fabrik/models/element.php(334): Joomla\CMS\Plugin\PluginHelper::importPlugin('fabrik_element', NULL)
#5 [ROOT]/administrator/components/com_fabrik/views/element/view.html.php(88): FabrikAdminModelElement->getPluginHTML()
#6 [ROOT]/libraries/src/MVC/Controller/BaseController.php(639): FabrikAdminViewElement->display()
#7 [ROOT]/administrator/components/com_fabrik/controller.php(42): Joomla\CMS\MVC\Controller\BaseController->display()
#8 [ROOT]/libraries/src/MVC/Controller/BaseController.php(672): FabrikAdminController->display()
#9 [ROOT]/administrator/components/com_fabrik/fabrik.php(104): Joomla\CMS\MVC\Controller\BaseController->execute('home.display')
#10 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(71): require_once('/var/www/nsdgk....')
#11 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(73): Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}('/var/www/nsdgk....')
#12 [ROOT]/libraries/src/Component/ComponentHelper.php(355): Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()
#13 [ROOT]/libraries/src/Application/AdministratorApplication.php(143): Joomla\CMS\Component\ComponentHelper::renderComponent('com_fabrik')
#14 [ROOT]/libraries/src/Application/AdministratorApplication.php(186): Joomla\CMS\Application\AdministratorApplication->dispatch()
#15 [ROOT]/libraries/src/Application/CMSApplication.php(294): Joomla\CMS\Application\AdministratorApplication->doExecute()
#16 [ROOT]/administrator/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#17 [ROOT]/administrator/index.php(32): require_once('/var/www/nsdgk....')
#18 {main}
PHP: 8.2.3
Fabrik: 4.0gamma2
After installing the gamma2 upgrade on top of beta4, I get an error when trying to create a new element:
An error has occurred.
0 syntax error, unexpected token "private", expecting end of file
I did not get any errors during upgrade.
I can select any old element from the list and edit/save it.
Stacktrace from J! System Debug:
error - Uncaught Throwable of type ParseError thrown with message "syntax error, unexpected token "private", expecting end of file". Stack trace:
#0 [ROOT]/libraries/src/Extension/ExtensionManagerTrait.php(157): Joomla\CMS\Application\CMSApplication->loadPluginFromFilesystem('thumbs', 'fabrik_element')
#1 [ROOT]/libraries/src/Extension/ExtensionManagerTrait.php(96): Joomla\CMS\Application\CMSApplication->loadExtension('Joomla\\CMS\\Exte...', 'thumbs:fabrik_e...', '/var/www/nsdgk....')
#2 [ROOT]/libraries/src/Plugin/PluginHelper.php(221): Joomla\CMS\Application\CMSApplication->bootPlugin('thumbs', 'fabrik_element')
#3 [ROOT]/libraries/src/Plugin/PluginHelper.php(181): Joomla\CMS\Plugin\PluginHelper::import(Object(stdClass), true, Object(Joomla\Event\Dispatcher))
#4 [ROOT]/administrator/components/com_fabrik/models/element.php(334): Joomla\CMS\Plugin\PluginHelper::importPlugin('fabrik_element', NULL)
#5 [ROOT]/administrator/components/com_fabrik/views/element/view.html.php(88): FabrikAdminModelElement->getPluginHTML()
#6 [ROOT]/libraries/src/MVC/Controller/BaseController.php(639): FabrikAdminViewElement->display()
#7 [ROOT]/administrator/components/com_fabrik/controller.php(42): Joomla\CMS\MVC\Controller\BaseController->display()
#8 [ROOT]/libraries/src/MVC/Controller/BaseController.php(672): FabrikAdminController->display()
#9 [ROOT]/administrator/components/com_fabrik/fabrik.php(104): Joomla\CMS\MVC\Controller\BaseController->execute('home.display')
#10 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(71): require_once('/var/www/nsdgk....')
#11 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(73): Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}('/var/www/nsdgk....')
#12 [ROOT]/libraries/src/Component/ComponentHelper.php(355): Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()
#13 [ROOT]/libraries/src/Application/AdministratorApplication.php(143): Joomla\CMS\Component\ComponentHelper::renderComponent('com_fabrik')
#14 [ROOT]/libraries/src/Application/AdministratorApplication.php(186): Joomla\CMS\Application\AdministratorApplication->dispatch()
#15 [ROOT]/libraries/src/Application/CMSApplication.php(294): Joomla\CMS\Application\AdministratorApplication->doExecute()
#16 [ROOT]/administrator/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#17 [ROOT]/administrator/index.php(32): require_once('/var/www/nsdgk....')
#18 {main}
Last edited: