Fatal Error with PHP 8.1
Accessing SobiPro front or back-end on the site with PHP 8.1 generate following error:
Fatal error: Uncaught Exception: Can't find class Sobi definition in /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/sobi/Autoloader/Autoloader.php:136
- Stack trace:
- #0 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla3/base/user.php(53): Sobi\Autoloader\Autoloader->load('Sobi')
- #1 (closed) /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla_common/base/user.php(384): SPUser->__construct(98)
- #2 (closed) /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/base/exception.php(83): SPJoomlaUser::getCurrent()
- #3 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/base/exception.php(228): SPException::storeError(16384, 0, 'Joomla\CMS\Fact...', '/home/sikorasob...', 422, 'PHP', 'N;', 'a:12:{i:0;a:4:{...')
- #4 [internal function]: SPExceptionHandler(16384, 'Joomla\CMS\Fact...', '/home/sikorasob...', 422)
- #5 (closed) /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Factory.php(422): trigger_error('Joomla\CMS\Fact...', 16384)
- #6 (closed) /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Table/Table.php(320): Joomla\CMS\Factory::getDbo()
- #7 (closed) /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/User/User.php(575): Joomla\CMS\Table\Table::getInstance('user', 'JTable')
- #8 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/User/User.php(855): Joomla\CMS\User\User::getTable()
- #9 (closed) /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/User/User.php(920): Joomla\CMS\User\User->load(98)
- #10 (closed) [internal function]: Joomla\CMS\User\User->__wakeup()
- #11 (closed) /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/vendor/joomla/registry/src/Registry.php(80): unserialize('O:8:"stdClass":...')
- #12 (closed) /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Session/Storage/JoomlaStorage.php(133): Joomla\Registry\Registry->__clone()
- #13 [internal function]: Joomla\CMS\Session\Storage\JoomlaStorage->close()
- #14 (closed) {main} thrown in /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/sobi/Autoloader/Autoloader.php on line 136