SobiPro issueshttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues2023-08-22T14:59:44Zhttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/245Setting error reporting to none cause fatal error on PHP 82023-08-22T14:59:44ZSławek SikoraSetting error reporting to none cause fatal error on PHP 8When option error reporting level is set to none and PHP is >= 8 all fron and back-end views crash with fatal error:
0 error_reporting(): Argument #1 ($error_level) must be of type ?int, string given
| Call stack | | |
|------------|-------------------------------------------------------------------------------------|-----------------------------------------------------------------|
| # | Function | Location |
| 1 | () | JROOT/components/com_sobipro/lib/ctrl/sobipro.php:110 |
| 2 | error_reporting() | JROOT/components/com_sobipro/lib/ctrl/sobipro.php:110 |
| 3 | SobiProCtrl->__construct() | JROOT/components/com_sobipro/sobipro.php:54 |
| 4 | require_once() | JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 |
| 5 | Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() | JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 |
| 6 | Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() | JROOT/libraries/src/Component/ComponentHelper.php:361 |
| 7 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:208 |
| 8 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:249 |
| 9 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:293 |
| 10 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/includes/app.php:61 |
| 11 | require_once() | JROOT/index.php:32 |When option error reporting level is set to none and PHP is >= 8 all fron and back-end views crash with fatal error:
0 error_reporting(): Argument #1 ($error_level) must be of type ?int, string given
| Call stack | | |
|------------|-------------------------------------------------------------------------------------|-----------------------------------------------------------------|
| # | Function | Location |
| 1 | () | JROOT/components/com_sobipro/lib/ctrl/sobipro.php:110 |
| 2 | error_reporting() | JROOT/components/com_sobipro/lib/ctrl/sobipro.php:110 |
| 3 | SobiProCtrl->__construct() | JROOT/components/com_sobipro/sobipro.php:54 |
| 4 | require_once() | JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 |
| 5 | Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() | JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 |
| 6 | Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() | JROOT/libraries/src/Component/ComponentHelper.php:361 |
| 7 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:208 |
| 8 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:249 |
| 9 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:293 |
| 10 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/includes/app.php:61 |
| 11 | require_once() | JROOT/index.php:32 |2.3.5Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/244duplicating templates with blank space in the name2023-08-22T14:59:32ZSławek Sikoraduplicating templates with blank space in the nameWhen we duplicate a template and we use blank space in the new template name, like 'new template' there will be created tplnew-template as a abstract class name in the template.php file. Unfortunately it lead to the following fatal error at the front-end:
0 syntax error, unexpected token "-", expecting "{"
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/usr/templates/nowy-szablon/template.php:38
- 2 SPFrontView->registerFunctions() JROOT/components/com_sobipro/lib/views/view.php:323
- 3 SPFrontView->display() JROOT/components/com_sobipro/lib/views/section.php:753
- 4 SPSectionView->display() JROOT/components/com_sobipro/lib/ctrl/section.php:150
- 5 SPSectionCtrl->view() JROOT/components/com_sobipro/lib/ctrl/controller.php:229
- 6 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:578
- 7 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
- 11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
- 12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
- 13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
- 14 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
- 15 require_once() JROOT/index.php:32When we duplicate a template and we use blank space in the new template name, like 'new template' there will be created tplnew-template as a abstract class name in the template.php file. Unfortunately it lead to the following fatal error at the front-end:
0 syntax error, unexpected token "-", expecting "{"
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/usr/templates/nowy-szablon/template.php:38
- 2 SPFrontView->registerFunctions() JROOT/components/com_sobipro/lib/views/view.php:323
- 3 SPFrontView->display() JROOT/components/com_sobipro/lib/views/section.php:753
- 4 SPSectionView->display() JROOT/components/com_sobipro/lib/ctrl/section.php:150
- 5 SPSectionCtrl->view() JROOT/components/com_sobipro/lib/ctrl/controller.php:229
- 6 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:578
- 7 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
- 11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
- 12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
- 13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
- 14 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
- 15 require_once() JROOT/index.php:322.3.5Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/242Categories list are no longer passed to the details view2023-08-22T14:59:18ZSławek SikoraCategories list are no longer passed to the details viewCategories selected for the entry are no longer passed for the details view output. <categories/> node is always empty.Categories selected for the entry are no longer passed for the details view output. <categories/> node is always empty.2.3.4Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/241Fatal error on the back-end with PHP 8.22023-08-22T14:59:10ZSławek SikoraFatal error on the back-end with PHP 8.2Following error appear for me on the back-end with PHP 8.2:
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/joomla_common/base/user.php(68): Sobi\Autoloader\Autoloader->load('Sobi')
- 1 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla3/base/user.php(39): SPJoomlaUser->__construct(98)
- 2 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla_common/base/user.php(508): SPUser->__construct(98)
- 3 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/base/exception.php(89): SPJoomlaUser::getCurrent()
- 4 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/base/exception.php(234): SPException::storeError(16384, 0, 'Joomla\\CMS\\Fact...', '/home/sikorasob...', 455, 'PHP', 's:0:"";', 'a:12:{i:0;a:4:{...')
- 5 [internal function]: SPExceptionHandler(16384, 'Joomla\\CMS\\Fact...', '/home/sikorasob...', 455)
- 6 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Factory.php(455): trigger_error('Joomla\\CMS\\Fact...', 16384)
- 7 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Table/Table.php(309): Joomla\CMS\Factory::getDbo()
- 8 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/User/User.php(565): Joomla\CMS\Table\Table::getInstance('user', 'JTable')
- 9 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/User/User.php(814): Joomla\CMS\User\User::getTable()
- 10 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/User/User.php(874): Joomla\CMS\User\User->load(98)
- 11 [internal function]: Joomla\CMS\User\User->__wakeup()
- 12 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/vendor/joomla/registry/src/Registry.php(80): unserialize('O:8:"stdClass":...')
- 13 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Session/Storage/JoomlaStorage.php(134): Joomla\Registry\Registry->__clone()
- 14 [internal function]: Joomla\CMS\Session\Storage\JoomlaStorage->close()
- 15 {main} thrown in /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/sobi/Autoloader/Autoloader.php on line 136Following error appear for me on the back-end with PHP 8.2:
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/joomla_common/base/user.php(68): Sobi\Autoloader\Autoloader->load('Sobi')
- 1 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla3/base/user.php(39): SPJoomlaUser->__construct(98)
- 2 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla_common/base/user.php(508): SPUser->__construct(98)
- 3 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/base/exception.php(89): SPJoomlaUser::getCurrent()
- 4 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/base/exception.php(234): SPException::storeError(16384, 0, 'Joomla\\CMS\\Fact...', '/home/sikorasob...', 455, 'PHP', 's:0:"";', 'a:12:{i:0;a:4:{...')
- 5 [internal function]: SPExceptionHandler(16384, 'Joomla\\CMS\\Fact...', '/home/sikorasob...', 455)
- 6 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Factory.php(455): trigger_error('Joomla\\CMS\\Fact...', 16384)
- 7 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Table/Table.php(309): Joomla\CMS\Factory::getDbo()
- 8 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/User/User.php(565): Joomla\CMS\Table\Table::getInstance('user', 'JTable')
- 9 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/User/User.php(814): Joomla\CMS\User\User::getTable()
- 10 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/User/User.php(874): Joomla\CMS\User\User->load(98)
- 11 [internal function]: Joomla\CMS\User\User->__wakeup()
- 12 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/vendor/joomla/registry/src/Registry.php(80): unserialize('O:8:"stdClass":...')
- 13 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Session/Storage/JoomlaStorage.php(134): Joomla\Registry\Registry->__clone()
- 14 [internal function]: Joomla\CMS\Session\Storage\JoomlaStorage->close()
- 15 {main} thrown in /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/sobi/Autoloader/Autoloader.php on line 1362.3.4Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/240Non latinf characters in the template name2023-06-19T09:49:03ZSławek SikoraNon latinf characters in the template nameWhen we use non-latin characters in the template name, they are stripped from the template folder name, but are used for the abstract class name in the template.php file, which in the result generate fatal error on the front-end:
> 0 get_class_methods(): Argument #1 ($object_or_class) must be an object or a valid class name, string givenWhen we use non-latin characters in the template name, they are stripped from the template folder name, but are used for the abstract class name in the template.php file, which in the result generate fatal error on the front-end:
> 0 get_class_methods(): Argument #1 ($object_or_class) must be an object or a valid class name, string given2.3.4Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/239Add Suffix to URL cause not loading js and css files2023-03-02T10:37:01ZSławek SikoraAdd Suffix to URL cause not loading js and css filesLike in the title, when Add Suffix to URL option is enabled in the Joomla then all header files aren't loaded on the front-end.Like in the title, when Add Suffix to URL option is enabled in the Joomla then all header files aren't loaded on the front-end.2.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/237Error on the payment page redirection2022-11-22T08:30:40ZSławek SikoraError on the payment page redirectionThere appear error page after entry submit and redirection to the payment page:
- 403 Unauthorised Access.
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/mainframe.php:219
- 2 SPJoomlaMainFrame->runAway() JROOT/components/com_sobipro/lib/base/exception.php:237
- 3 SPExceptionHandler()
- 4 trigger_error() JROOT/components/com_sobipro/lib/sobi.php:106
- 5 Sobi::Error() JROOT/components/com_sobipro/lib/ctrl/entry.php:390
- 6 SPEntryCtrl->payment() JROOT/components/com_sobipro/lib/ctrl/entry.php:81
- 7 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:577
- 8 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
- 12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
- 13 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
- 14 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
- 15 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
- 16 require_once() JROOT/index.php:32There appear error page after entry submit and redirection to the payment page:
- 403 Unauthorised Access.
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/mainframe.php:219
- 2 SPJoomlaMainFrame->runAway() JROOT/components/com_sobipro/lib/base/exception.php:237
- 3 SPExceptionHandler()
- 4 trigger_error() JROOT/components/com_sobipro/lib/sobi.php:106
- 5 Sobi::Error() JROOT/components/com_sobipro/lib/ctrl/entry.php:390
- 6 SPEntryCtrl->payment() JROOT/components/com_sobipro/lib/ctrl/entry.php:81
- 7 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:577
- 8 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
- 12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
- 13 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
- 14 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
- 15 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
- 16 require_once() JROOT/index.php:322.1.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/236When selected alpha index letter is '0' letter does not show in the headings2022-11-22T08:30:47ZtheiglooWhen selected alpha index letter is '0' letter does not show in the headingsHi :)
When the selected letter in the alpha index is a zero 0, it does not show in the heading below the index.
Looks like this, heading with empty quotations:
**Entries with Postcodes starting with ''**
thanks![Screenshot_2022-11-08_at_6.46.28_pm](/uploads/23be2b7b54561f953d42988c9c43d026/Screenshot_2022-11-08_at_6.46.28_pm.png)
![Screenshot_2022-11-08_at_6.46.41_pm](/uploads/87e09c93fe5bd0f7b593519bd4a12037/Screenshot_2022-11-08_at_6.46.41_pm.png)
This is a clean install
Joomla 4.2.4
SobiPro 2.1.1.6
PHP 8.0.24Hi :)
When the selected letter in the alpha index is a zero 0, it does not show in the heading below the index.
Looks like this, heading with empty quotations:
**Entries with Postcodes starting with ''**
thanks![Screenshot_2022-11-08_at_6.46.28_pm](/uploads/23be2b7b54561f953d42988c9c43d026/Screenshot_2022-11-08_at_6.46.28_pm.png)
![Screenshot_2022-11-08_at_6.46.41_pm](/uploads/87e09c93fe5bd0f7b593519bd4a12037/Screenshot_2022-11-08_at_6.46.41_pm.png)
This is a clean install
Joomla 4.2.4
SobiPro 2.1.1.6
PHP 8.0.242.1.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/234email field type cannot be used as email field for profile field2022-10-31T14:45:15ZSławek Sikoraemail field type cannot be used as email field for profile fieldWhen as user email is used email field type, there appear following error on entry save:
- 0 SPField_Profile::userEmailExists(): Argument #1 ($email) must be of type string, null given, called in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/opt/fields/profile.php on line 1014
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/opt/fields/profile.php:1066
- 2 SPField_Profile->userEmailExists() JROOT/components/com_sobipro/opt/fields/profile.php:1014
- 3 SPField_Profile->createNewUser() JROOT/components/com_sobipro/opt/fields/profile.php:581
- 4 SPField_Profile->saveData() JROOT/components/com_sobipro/lib/models/field.php:392
- 5 SPField->__call() JROOT/components/com_sobipro/lib/models/entry.php:790
- 6 SPEntry->save() JROOT/components/com_sobipro/lib/ctrl/entry.php:525
- 7 SPEntryCtrl->save() JROOT/components/com_sobipro/lib/ctrl/controller.php:170
- 8 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/entry.php:84
- 9 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:577
- 10 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
- 14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
- 15 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
- 16 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
- 17 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
- 18 require_once() JROOT/index.php:32
It works fine with inputbox field as email.When as user email is used email field type, there appear following error on entry save:
- 0 SPField_Profile::userEmailExists(): Argument #1 ($email) must be of type string, null given, called in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/opt/fields/profile.php on line 1014
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/opt/fields/profile.php:1066
- 2 SPField_Profile->userEmailExists() JROOT/components/com_sobipro/opt/fields/profile.php:1014
- 3 SPField_Profile->createNewUser() JROOT/components/com_sobipro/opt/fields/profile.php:581
- 4 SPField_Profile->saveData() JROOT/components/com_sobipro/lib/models/field.php:392
- 5 SPField->__call() JROOT/components/com_sobipro/lib/models/entry.php:790
- 6 SPEntry->save() JROOT/components/com_sobipro/lib/ctrl/entry.php:525
- 7 SPEntryCtrl->save() JROOT/components/com_sobipro/lib/ctrl/controller.php:170
- 8 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/entry.php:84
- 9 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:577
- 10 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
- 14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
- 15 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
- 16 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
- 17 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
- 18 require_once() JROOT/index.php:32
It works fine with inputbox field as email.2.1.1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/235Approval notifications aren't sent2022-11-22T08:30:56ZSławek SikoraApproval notifications aren't sentLooks like approval notifications aren't sent at allLooks like approval notifications aren't sent at all2.1.1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/233Undefined logging constant when changig required state from list2022-10-04T08:45:18ZSławek SikoraUndefined logging constant when changig required state from listIt happens when you try to change field required state field directly on the fields manager, following error appear
- An error has occurred.
-
- 0 Undefined constant SPC::LOG_UNREQUIRED
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1025
- 2 constant() JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1025
- 3 SPFieldAdmCtrl->changeState() JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1157
- 4 SPFieldAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:459
- 5 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 6 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 8 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
- 9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 10 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 11 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
- 12 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
- 13 require_once() JROOT/administrator/index.php:32It happens when you try to change field required state field directly on the fields manager, following error appear
- An error has occurred.
-
- 0 Undefined constant SPC::LOG_UNREQUIRED
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1025
- 2 constant() JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1025
- 3 SPFieldAdmCtrl->changeState() JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1157
- 4 SPFieldAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:459
- 5 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 6 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 8 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
- 9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 10 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 11 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
- 12 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
- 13 require_once() JROOT/administrator/index.php:322.1.0Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/231data with leading 0 in inputbox do not show correctly in the search form2022-10-04T08:45:29ZSławek Sikoradata with leading 0 in inputbox do not show correctly in the search formThe problem happens if we have inputbox field set to be searchable as a single select list. When we enter in the field number with leading zeros (like for example a postcode) it only show number without 0. So for example typed 0001 will be displayed as 1.The problem happens if we have inputbox field set to be searchable as a single select list. When we enter in the field number with leading zeros (like for example a postcode) it only show number without 0. So for example typed 0001 will be displayed as 1.2.1.0Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/230Category image selection with PHP 82022-09-26T10:25:19ZSławek SikoraCategory image selection with PHP 8When we try to select own image as category icon, there appear following error in the image selection modal when PHP 8 is used:
- 0 method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/views/view.php:691
- 2 method_exists() JROOT/components/com_sobipro/lib/views/view.php:691
- 3 SPFrontView->get() JROOT/components/com_sobipro/lib/views/view.php:623
- 4 SPFrontView->show() JROOT/components/com_sobipro/views/tpl/icon.php:56
- 5 include() JROOT/components/com_sobipro/lib/views/category.php:66
- 6 SPCategoryView->icon() JROOT/components/com_sobipro/lib/ctrl/category.php:151
- 7 SPCategoryCtrl->iconChooser() JROOT/components/com_sobipro/lib/ctrl/category.php:62
- 8 SPCategoryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/category.php:122
- 9 SPCategoryAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
- 10 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
- 18 require_once() JROOT/administrator/index.php:32When we try to select own image as category icon, there appear following error in the image selection modal when PHP 8 is used:
- 0 method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/views/view.php:691
- 2 method_exists() JROOT/components/com_sobipro/lib/views/view.php:691
- 3 SPFrontView->get() JROOT/components/com_sobipro/lib/views/view.php:623
- 4 SPFrontView->show() JROOT/components/com_sobipro/views/tpl/icon.php:56
- 5 include() JROOT/components/com_sobipro/lib/views/category.php:66
- 6 SPCategoryView->icon() JROOT/components/com_sobipro/lib/ctrl/category.php:151
- 7 SPCategoryCtrl->iconChooser() JROOT/components/com_sobipro/lib/ctrl/category.php:62
- 8 SPCategoryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/category.php:122
- 9 SPCategoryAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
- 10 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
- 18 require_once() JROOT/administrator/index.php:322.0.3Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/229Fatal Error with PHP 8.12022-10-04T08:45:36ZSławek SikoraFatal Error with PHP 8.1Accessing 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 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla_common/base/user.php(384): SPUser->__construct(98)
- #2 /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 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Factory.php(422): trigger_error('Joomla\\CMS\\Fact...', 16384)
- #6 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Table/Table.php(320): Joomla\CMS\Factory::getDbo()
- #7 /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 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/User/User.php(920): Joomla\CMS\User\User->load(98)
- #10 [internal function]: Joomla\CMS\User\User->__wakeup()
- #11 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/vendor/joomla/registry/src/Registry.php(80): unserialize('O:8:"stdClass":...')
- #12 /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 {main} thrown in /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/sobi/Autoloader/Autoloader.php on line 136Accessing 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 /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla_common/base/user.php(384): SPUser->__construct(98)
- #2 /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 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Factory.php(422): trigger_error('Joomla\\CMS\\Fact...', 16384)
- #6 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/Table/Table.php(320): Joomla\CMS\Factory::getDbo()
- #7 /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 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/src/User/User.php(920): Joomla\CMS\User\User->load(98)
- #10 [internal function]: Joomla\CMS\User\User->__wakeup()
- #11 /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/vendor/joomla/registry/src/Registry.php(80): unserialize('O:8:"stdClass":...')
- #12 /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 {main} thrown in /home/sikorasobipro/test3.sikora.sobipro.eu/libraries/sobi/Autoloader/Autoloader.php on line 1362.1.0Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/228Email field encryption causes fatal error2022-07-29T12:14:31ZSławek SikoraEmail field encryption causes fatal errorEnabling email field encryption cause fatal error during entry saving process:
An error has occurred.
> 0 Sobi\Utils\Encryption::Encrypt(): Argument #1 ($data) must be of type string, array given, called in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/opt/fields/email.php on line 391
- Call stack
- # Function Location
- 1 () JROOT/libraries/sobi/Utils/Encryption.php:39
- 2 Sobi\Utils\Encryption::Encrypt() JROOT/components/com_sobipro/opt/fields/email.php:391
- 3 SPField_Email->saveData() JROOT/components/com_sobipro/lib/models/field.php:896
- 4 SPField->__call() JROOT/components/com_sobipro/lib/models/entry.php:799
- 5 SPEntry->save() JROOT/components/com_sobipro/lib/ctrl/adm/entry.php:407
- 6 SPEntryAdmCtrl->save() JROOT/components/com_sobipro/lib/ctrl/controller.php:170
- 7 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/entry.php:84
- 8 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/entry.php:107
- 9 SPEntryAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
- 10 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
- 18 require_once() JROOT/administrator/index.php:32Enabling email field encryption cause fatal error during entry saving process:
An error has occurred.
> 0 Sobi\Utils\Encryption::Encrypt(): Argument #1 ($data) must be of type string, array given, called in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/opt/fields/email.php on line 391
- Call stack
- # Function Location
- 1 () JROOT/libraries/sobi/Utils/Encryption.php:39
- 2 Sobi\Utils\Encryption::Encrypt() JROOT/components/com_sobipro/opt/fields/email.php:391
- 3 SPField_Email->saveData() JROOT/components/com_sobipro/lib/models/field.php:896
- 4 SPField->__call() JROOT/components/com_sobipro/lib/models/entry.php:799
- 5 SPEntry->save() JROOT/components/com_sobipro/lib/ctrl/adm/entry.php:407
- 6 SPEntryAdmCtrl->save() JROOT/components/com_sobipro/lib/ctrl/controller.php:170
- 7 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/entry.php:84
- 8 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/entry.php:107
- 9 SPEntryAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
- 10 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
- 18 require_once() JROOT/administrator/index.php:322.0.3Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/226Javascript errors if JS files minification is set2022-07-18T10:27:25ZSławek SikoraJavascript errors if JS files minification is setOpen Street Map with enabled clustering option do not show markers when JS minification is enabledOpen Street Map with enabled clustering option do not show markers when JS minification is enabled2.0.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/225section configuration generate error wth PHP 82022-03-15T12:44:44ZSławek Sikorasection configuration generate error wth PHP 8Accessing section configuration generate following error with PHP 8:
An error has occurred.
- 0 count(): Argument #1 ($value) must be of type Countable|array, null given
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/views/adm/view.php:868
- 2 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:824
- 3 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:919
- 4 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:824
- 5 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:919
- 6 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:919
- 7 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:919
- 8 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:356
- 9 SPAdmView->parseDefinition() JROOT/components/com_sobipro/lib/views/adm/view.php:359
- 10 SPAdmView->parseDefinition() JROOT/components/com_sobipro/lib/views/adm/view.php:141
- 11 SPAdmView->loadDefinition() JROOT/components/com_sobipro/lib/views/adm/view.php:215
- 12 SPAdmView->determineTemplate() JROOT/components/com_sobipro/lib/ctrl/adm/config.php:568
- 13 SPConfigAdmCtrl->view() JROOT/components/com_sobipro/lib/ctrl/adm/config.php:114
- 14 SPConfigAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
- 15 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 16 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 17 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 18 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 20 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 21 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 22 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
- 23 require_once() JROOT/administrator/index.php:32Accessing section configuration generate following error with PHP 8:
An error has occurred.
- 0 count(): Argument #1 ($value) must be of type Countable|array, null given
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/views/adm/view.php:868
- 2 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:824
- 3 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:919
- 4 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:824
- 5 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:919
- 6 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:919
- 7 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:919
- 8 SPAdmView->xmlBody() JROOT/components/com_sobipro/lib/views/adm/view.php:356
- 9 SPAdmView->parseDefinition() JROOT/components/com_sobipro/lib/views/adm/view.php:359
- 10 SPAdmView->parseDefinition() JROOT/components/com_sobipro/lib/views/adm/view.php:141
- 11 SPAdmView->loadDefinition() JROOT/components/com_sobipro/lib/views/adm/view.php:215
- 12 SPAdmView->determineTemplate() JROOT/components/com_sobipro/lib/ctrl/adm/config.php:568
- 13 SPConfigAdmCtrl->view() JROOT/components/com_sobipro/lib/ctrl/adm/config.php:114
- 14 SPConfigAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
- 15 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 16 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 17 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 18 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 20 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 21 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 22 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
- 23 require_once() JROOT/administrator/index.php:322.0 RC 3Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/224Crash on the Joomla 3 front-end2022-02-25T13:38:03ZSławek SikoraCrash on the Joomla 3 front-endI can't access SobiPro section on the Joomla 3.10.6 front-end, got following error:<br />
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
- # Function Location
- 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 8I can't access SobiPro section on the Joomla 3.10.6 front-end, got following error:<br />
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
- # Function Location
- 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 82.0 RC 2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/223Fatal error when accessing category on Joomla 42022-02-25T13:38:10ZSławek SikoraFatal error when accessing category on Joomla 4There is fatal error on Joomla 4 when I try to access any of the categories:
Compile Error: Cannot declare class SPCategoriesModView, because the name is already in use
Exception Stack Trace
Symfony\Component\ErrorHandler\Error\ FatalError
in /home/sikorasobipro/test3.sikora.sobipro.eu/modules/mod_sobipro_categories/view.php (line 1)There is fatal error on Joomla 4 when I try to access any of the categories:
Compile Error: Cannot declare class SPCategoriesModView, because the name is already in use
Exception Stack Trace
Symfony\Component\ErrorHandler\Error\ FatalError
in /home/sikorasobipro/test3.sikora.sobipro.eu/modules/mod_sobipro_categories/view.php (line 1)2.0 RC 2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/222Deprecated notices in the error log2022-02-02T15:25:05ZSławek SikoraDeprecated notices in the error logEvery action on the front or back-end generate following notices in the error log:
- E_USER_DEPRECATED
- Joomla\CMS\Factory::getDbo() is deprecated. Load the database from the dependency injection container.
- Error Date 20 January 2022, 13:35:50
- In File /libraries/src/Factory.php: 422
- Requested URI /administrator/index.php?option=com_sobipro&task=error
-
-
- E_USER_DEPRECATED
- Joomla\CMS\Factory::getUser() is deprecated. Load the user from the dependency injection container or via Joomla\CMS\Factory::getApplication()->getIdentity().
- Error Date 20 January 2022, 13:35:50
- In File /libraries/src/Factory.php: 335
- Requested URI /administrator/index.php?option=com_sobipro&task=error
<br/><br />
Happens on the Joomla 4 onlyEvery action on the front or back-end generate following notices in the error log:
- E_USER_DEPRECATED
- Joomla\CMS\Factory::getDbo() is deprecated. Load the database from the dependency injection container.
- Error Date 20 January 2022, 13:35:50
- In File /libraries/src/Factory.php: 422
- Requested URI /administrator/index.php?option=com_sobipro&task=error
-
-
- E_USER_DEPRECATED
- Joomla\CMS\Factory::getUser() is deprecated. Load the user from the dependency injection container or via Joomla\CMS\Factory::getApplication()->getIdentity().
- Error Date 20 January 2022, 13:35:50
- In File /libraries/src/Factory.php: 335
- Requested URI /administrator/index.php?option=com_sobipro&task=error
<br/><br />
Happens on the Joomla 4 only