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/1Search results2023-08-08T15:53:17ZSławek SikoraSearch resultsI'm not sure if this is real bug or maybe there is necessary some additional search filter, but in case where we have in the input field following data:<br />
M316<br />
M2955x1<br />
M294<br />
M3295<br />
M3291<br />
M2956<br />
and we will search for M295, we will get following results with 'all words' filter:<br />
M2955x1<br />
M3295<br />
M2956<br />
I think first and last result is OK, but 2nd is wrong.I'm not sure if this is real bug or maybe there is necessary some additional search filter, but in case where we have in the input field following data:<br />
M316<br />
M2955x1<br />
M294<br />
M3295<br />
M3291<br />
M2956<br />
and we will search for M295, we will get following results with 'all words' filter:<br />
M2955x1<br />
M3295<br />
M2956<br />
I think first and last result is OK, but 2nd is wrong.1.4Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/243Add distance to the title in the search results no longer works2023-07-19T09:19:07ZSławek SikoraAdd distance to the title in the search results no longer worksAs in this ticket:
https://www.sigsiu.net/support/sp-geomap-field/10102:distance-missing-in-search-results
adding distance to the search results do not work in the latest core version.As in this ticket:
https://www.sigsiu.net/support/sp-geomap-field/10102:distance-missing-in-search-results
adding distance to the search results do not work in the latest core version.https://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/178Data accelerator problems with collection application2022-11-22T08:31:09ZSławek SikoraData accelerator problems with collection applicationI'm not sure if this is related to the core or collection application, so I put it here now. When data accelerator is enabled, and we navigate to the collection view, directly after adding some item to the collection list, when we back to the section/category view there are loaded all fields to the view, no matter if they are set to be visible in vcard or details view. <br />
It doesn't happens when we for example refresh view after adding entry to the collection, or go to the category or perform other action, to recreate this issue, collection view must be open directly after adding entries to the list.I'm not sure if this is related to the core or collection application, so I put it here now. When data accelerator is enabled, and we navigate to the collection view, directly after adding some item to the collection list, when we back to the section/category view there are loaded all fields to the view, no matter if they are set to be visible in vcard or details view. <br />
It doesn't happens when we for example refresh view after adding entry to the collection, or go to the category or perform other action, to recreate this issue, collection view must be open directly after adding entries to the list.2.1.0Sigrid 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/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/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/238When 'Entries per page' setting is changed in 'Listing View' only 1 entry sho...2022-11-22T08:30:27ZtheiglooWhen 'Entries per page' setting is changed in 'Listing View' only 1 entry shows on tags pageHello
I created a new install of Joomla and then installed SobiPro with sample data, then installed the Aggregation field and added some tags to all the entries.
On the front end in the tag view, all entries with the selected tag show
Then I changed the number of Entries per page in Listing View, and now only 1 entry is shown in tag view and can't be changed.
Joomla 4.2.5
SobiPro 2.1.1.6
Default 7 template
Aggregation 3.1.0.2
PHP 8.0.2.4
ThanksHello
I created a new install of Joomla and then installed SobiPro with sample data, then installed the Aggregation field and added some tags to all the entries.
On the front end in the tag view, all entries with the selected tag show
Then I changed the number of Entries per page in Listing View, and now only 1 entry is shown in tag view and can't be changed.
Joomla 4.2.5
SobiPro 2.1.1.6
Default 7 template
Aggregation 3.1.0.2
PHP 8.0.2.4
ThanksSigrid 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/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/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/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/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/142Possibility to save different redirections in multilingual mode2022-07-29T12:15:30ZSławek SikoraPossibility to save different redirections in multilingual modeWould be nice to have possibility to save different redirections URL depending from the language. In this moment, we are not able to select different links for languages so practically we are forced to only redirect to parent category option.Would be nice to have possibility to save different redirections URL depending from the language. In this moment, we are not able to select different links for languages so practically we are forced to only redirect to parent category option.2.0 RC 2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/152Filters translation2022-07-29T12:15:18ZSławek SikoraFilters translationI would be great to have possibility to translate filters message or make filters selection dependant from language (possibility to select different filters for different languages)I would be great to have possibility to translate filters message or make filters selection dependant from language (possibility to select different filters for different languages)2.0 RC 2Sigrid SuskiSigrid Suski