SobiPro issueshttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues2022-02-25T13:39:38Zhttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/212Error Log - SobiPro 2.0 - Joomla 4.02022-02-25T13:39:38ZGarry-PError Log - SobiPro 2.0 - Joomla 4.0SobiPro Clean Install:
Backend Saves OK
FrontEnd Both Cancel and the Save Button Does Nothing
*DOMDocument::load(): I/O warning : failed to load external entity "/components/com_sobipro/etc/repos/repository_sigsiu_net.xml"
Error Date 13 October 2021, 09:35:49
In File /lib/ctrl/adm/extensions.php: 1073
Requested URI /administrator/index.php**
<details><summary>Click to expand</summary>
`]]></callTrace>
</error>
<error date="2021-10-13 07:35:48" level="E_WARNING" returnCode="0" section="PHP">
<message>DOMDocument::load(): I/O warning : failed to load external entity "/components/com_sobipro/etc/repos/repository_sigsiu_net.xml"</message>
<file>/home/cloudpanel/htdocs/www.xxxxxxxxxxxxx.com/components/com_sobipro/lib/ctrl/adm/extensions.php:1073</file>
<user uid="485">
<ip>120.159.189.190</ip>
<userAgent>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36</userAgent>
<requestedUri>/administrator/index.php</requestedUri>
<referrerUri>administrator/index.php?option=com_sobipro&task=extensions.browse</referrerUri>
</user>
<callStack><![CDATA[
array (
'repositoryId' => 'repository.sigsiu.net',
'connection' =>
array (
),
'errno' => '',
'status' => '',
'def' =>
array (
),
'path' => '/components/com_sobipro/etc/repos/repository_sigsiu_net.xml',
'file' =>
array (
),
'info' => '<?xml version="1.0" encoding="UTF-8"?>
<repository
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://xml.sigsiu.net/SobiPro/repository.xsd">
<name>SobiPro Repository</name>
<id>sobipro_core</id>
<repositoryLocation>repository.php</repositoryLocation>
<description>
SobiPro Repository at https://repository.sigsiu.net
</description>
<maintainer>
<name>Sigsiu.NET GmbH</name>
<email>sobi[at]sigsiu.net</email>
<url>https://www.sigsiu.net/</url>
<supportUrl>https://www.sigsiu.net/support/</supportUrl>
</maintainer>
</repository>
',
'connectionInfo' =>
array (
'url' => 'https://repository.sigsiu.net/repository.xml',
'content_type' => 'application/xml',
'http_code' => 200,
'header_size' => 258,
'request_size' => 74,
'filetime' => -1,
'ssl_verify_result' => 0,
'redirect_count' => 0,
'total_time' => 1.299914,
'namelookup_time' => 0.000929,
'connect_time' => 0.321366,
'pretransfer_time' => 0.973522,
'size_upload' => 0,
'size_download' => 615,
'speed_download' => 473,
'speed_upload' => 0,
'download_content_length' => 615,
'upload_content_length' => -1,
'starttransfer_time' => 1.29987,
'redirect_time' => 0,
'redirect_url' => '',
'primary_ip' => '195.201.12.175',
'certinfo' =>
array (
),
'primary_port' => 443,
'local_ip' => '149.28.174.136',
'local_port' => 33140,
'http_version' => 2,
'protocol' => 2,
'ssl_verifyresult' => 0,
'scheme' => 'HTTPS',
'appconnect_time_us' => 973466,
'connect_time_us' => 321366,
'namelookup_time_us' => 929,
'pretransfer_time_us' => 973522,
'redirect_time_us' => 0,
'starttransfer_time_us' => 1299870,
'total_time_us' => 1299914,
),
'arrUtils' =>
array (
),
'remoteDef' =>
array (
),
)
]]></callStack>
<callTrace><![CDATA[
array (
0 =>
array (
'file' => '/components/com_sobipro/lib/base/config.php',
'line' => '520',
'function' => 'backtrace',
'class' => 'SPConfig',
),
1 =>
array (
'file' => '/components/com_sobipro/lib/base/exception.php',
'line' => '175',
'function' => 'getBacktrace',
'class' => 'SPConfig',
),
2 =>
array (
'file' => 'none',
'line' => 'none',
'function' => 'SPExceptionHandler',
'class' => 'none',
),
3 =>
array (
'file' => '/components/com_sobipro/lib/ctrl/adm/extensions.php',
'line' => '1073',
'function' => 'load',
'class' => 'DOMDocument',
),
4 =>
array (
'file' => '/components/com_sobipro/lib/ctrl/adm/extensions.php',
'line' => '96',
'function' => 'confirmRepo',
'class' => 'SPExtensionsCtrl',
),
5 =>
array (
'file' => '/components/com_sobipro/lib/ctrl/adm/sobipro.php',
'line' => '458',
'function' => 'execute',
'class' => 'SPExtensionsCtrl',
),
6 =>
array (
'file' => '/administrator/components/com_sobipro/sobipro.php',
'line' => '57',
'function' => 'execute',
'class' => 'SobiProAdmCtrl',
),
7 =>
array (
'file' => '/libraries/src/Dispatcher/LegacyComponentDispatcher.php',
'line' => '69',
'function' => 'require_once',
'class' => 'none',
),
8 =>
array (
'file' => '/libraries/src/Dispatcher/LegacyComponentDispatcher.php',
'line' => '71',
'function' => 'Joomla\CMS\Dispatcher\{closure}',
'class' => 'Joomla\CMS\Dispatcher\LegacyComponentDispatcher',
),
9 =>
array (
'file' => '/libraries/src/Component/ComponentHelper.php',
'line' => '389',
'function' => 'dispatch',
'class' => 'Joomla\CMS\Dispatcher\LegacyComponentDispatcher',
),
10 =>
array (
'file' => '/libraries/src/Application/AdministratorApplication.php',
'line' => '143',
'function' => 'renderComponent',
'class' => 'Joomla\CMS\Component\ComponentHelper',
),
11 =>
array (
'file' => '/libraries/src/Application/AdministratorApplication.php',
'line' => '186',
'function' => 'dispatch',
'class' => 'Joomla\CMS\Application\AdministratorApplication',
),
12 =>
array (
'file' => '/libraries/src/Application/CMSApplication.php',
'line' => '278',
'function' => 'doExecute',
'class' => 'Joomla\CMS\Application\AdministratorApplication',
),
13 =>
array (
'file' => '/administrator/includes/app.php',
'line' => '63',
'function' => 'execute',
'class' => 'Joomla\CMS\Application\CMSApplication',
),
14 =>
array (
'file' => '/administrator/index.php',
'line' => '32',
'function' => 'require_once',
'class' => 'none',
),
)
]]></callTrace>
</error>
</errorLog>
`
</details>SobiPro Clean Install:
Backend Saves OK
FrontEnd Both Cancel and the Save Button Does Nothing
*DOMDocument::load(): I/O warning : failed to load external entity "/components/com_sobipro/etc/repos/repository_sigsiu_net.xml"
Error Date 13 October 2021, 09:35:49
In File /lib/ctrl/adm/extensions.php: 1073
Requested URI /administrator/index.php**
<details><summary>Click to expand</summary>
`]]></callTrace>
</error>
<error date="2021-10-13 07:35:48" level="E_WARNING" returnCode="0" section="PHP">
<message>DOMDocument::load(): I/O warning : failed to load external entity "/components/com_sobipro/etc/repos/repository_sigsiu_net.xml"</message>
<file>/home/cloudpanel/htdocs/www.xxxxxxxxxxxxx.com/components/com_sobipro/lib/ctrl/adm/extensions.php:1073</file>
<user uid="485">
<ip>120.159.189.190</ip>
<userAgent>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36</userAgent>
<requestedUri>/administrator/index.php</requestedUri>
<referrerUri>administrator/index.php?option=com_sobipro&task=extensions.browse</referrerUri>
</user>
<callStack><![CDATA[
array (
'repositoryId' => 'repository.sigsiu.net',
'connection' =>
array (
),
'errno' => '',
'status' => '',
'def' =>
array (
),
'path' => '/components/com_sobipro/etc/repos/repository_sigsiu_net.xml',
'file' =>
array (
),
'info' => '<?xml version="1.0" encoding="UTF-8"?>
<repository
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://xml.sigsiu.net/SobiPro/repository.xsd">
<name>SobiPro Repository</name>
<id>sobipro_core</id>
<repositoryLocation>repository.php</repositoryLocation>
<description>
SobiPro Repository at https://repository.sigsiu.net
</description>
<maintainer>
<name>Sigsiu.NET GmbH</name>
<email>sobi[at]sigsiu.net</email>
<url>https://www.sigsiu.net/</url>
<supportUrl>https://www.sigsiu.net/support/</supportUrl>
</maintainer>
</repository>
',
'connectionInfo' =>
array (
'url' => 'https://repository.sigsiu.net/repository.xml',
'content_type' => 'application/xml',
'http_code' => 200,
'header_size' => 258,
'request_size' => 74,
'filetime' => -1,
'ssl_verify_result' => 0,
'redirect_count' => 0,
'total_time' => 1.299914,
'namelookup_time' => 0.000929,
'connect_time' => 0.321366,
'pretransfer_time' => 0.973522,
'size_upload' => 0,
'size_download' => 615,
'speed_download' => 473,
'speed_upload' => 0,
'download_content_length' => 615,
'upload_content_length' => -1,
'starttransfer_time' => 1.29987,
'redirect_time' => 0,
'redirect_url' => '',
'primary_ip' => '195.201.12.175',
'certinfo' =>
array (
),
'primary_port' => 443,
'local_ip' => '149.28.174.136',
'local_port' => 33140,
'http_version' => 2,
'protocol' => 2,
'ssl_verifyresult' => 0,
'scheme' => 'HTTPS',
'appconnect_time_us' => 973466,
'connect_time_us' => 321366,
'namelookup_time_us' => 929,
'pretransfer_time_us' => 973522,
'redirect_time_us' => 0,
'starttransfer_time_us' => 1299870,
'total_time_us' => 1299914,
),
'arrUtils' =>
array (
),
'remoteDef' =>
array (
),
)
]]></callStack>
<callTrace><![CDATA[
array (
0 =>
array (
'file' => '/components/com_sobipro/lib/base/config.php',
'line' => '520',
'function' => 'backtrace',
'class' => 'SPConfig',
),
1 =>
array (
'file' => '/components/com_sobipro/lib/base/exception.php',
'line' => '175',
'function' => 'getBacktrace',
'class' => 'SPConfig',
),
2 =>
array (
'file' => 'none',
'line' => 'none',
'function' => 'SPExceptionHandler',
'class' => 'none',
),
3 =>
array (
'file' => '/components/com_sobipro/lib/ctrl/adm/extensions.php',
'line' => '1073',
'function' => 'load',
'class' => 'DOMDocument',
),
4 =>
array (
'file' => '/components/com_sobipro/lib/ctrl/adm/extensions.php',
'line' => '96',
'function' => 'confirmRepo',
'class' => 'SPExtensionsCtrl',
),
5 =>
array (
'file' => '/components/com_sobipro/lib/ctrl/adm/sobipro.php',
'line' => '458',
'function' => 'execute',
'class' => 'SPExtensionsCtrl',
),
6 =>
array (
'file' => '/administrator/components/com_sobipro/sobipro.php',
'line' => '57',
'function' => 'execute',
'class' => 'SobiProAdmCtrl',
),
7 =>
array (
'file' => '/libraries/src/Dispatcher/LegacyComponentDispatcher.php',
'line' => '69',
'function' => 'require_once',
'class' => 'none',
),
8 =>
array (
'file' => '/libraries/src/Dispatcher/LegacyComponentDispatcher.php',
'line' => '71',
'function' => 'Joomla\CMS\Dispatcher\{closure}',
'class' => 'Joomla\CMS\Dispatcher\LegacyComponentDispatcher',
),
9 =>
array (
'file' => '/libraries/src/Component/ComponentHelper.php',
'line' => '389',
'function' => 'dispatch',
'class' => 'Joomla\CMS\Dispatcher\LegacyComponentDispatcher',
),
10 =>
array (
'file' => '/libraries/src/Application/AdministratorApplication.php',
'line' => '143',
'function' => 'renderComponent',
'class' => 'Joomla\CMS\Component\ComponentHelper',
),
11 =>
array (
'file' => '/libraries/src/Application/AdministratorApplication.php',
'line' => '186',
'function' => 'dispatch',
'class' => 'Joomla\CMS\Application\AdministratorApplication',
),
12 =>
array (
'file' => '/libraries/src/Application/CMSApplication.php',
'line' => '278',
'function' => 'doExecute',
'class' => 'Joomla\CMS\Application\AdministratorApplication',
),
13 =>
array (
'file' => '/administrator/includes/app.php',
'line' => '63',
'function' => 'execute',
'class' => 'Joomla\CMS\Application\CMSApplication',
),
14 =>
array (
'file' => '/administrator/index.php',
'line' => '32',
'function' => 'require_once',
'class' => 'none',
),
)
]]></callTrace>
</error>
</errorLog>
`
</details>https://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/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/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 onlyhttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/218Application installation do not refresh the page2022-02-01T12:31:53ZSławek SikoraApplication installation do not refresh the pageWhen extension is installed in the applications manager, after the bar goes to 100% the page isn't reload and it just stay at 100%, we need to refresh page manually to get app on the list of installed applications.When extension is installed in the applications manager, after the bar goes to 100% the page isn't reload and it just stay at 100%, we need to refresh page manually to get app on the list of installed applications.https://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/220New extensions are installed as core extensions2022-02-01T12:31:44ZSławek SikoraNew extensions are installed as core extensionsNewly installed applications appear in the installed applications page as core extensions, and can't be removed/disabled. It happens for new installations, extensions which was installed earlier and are just updated can be selected and disabled.Newly installed applications appear in the installed applications page as core extensions, and can't be removed/disabled. It happens for new installations, extensions which was installed earlier and are just updated can be selected and disabled.https://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/219Can't access front-end2022-02-01T12:31:35ZSławek SikoraCan't access front-endWith SobiPro 2.0.0.23 Beta 2 I can't access my sections front-end on Joomla 3.10.4. Tested with PHP 7.4 and 8.0. Following error appear:<br/><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:420
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/user.php:420
- 2 SPJoomlaUser::getCurrent() JROOT/components/com_sobipro/lib/base/factory.php:158
- 3 SPFactory::user() JROOT/components/com_sobipro/lib/sobi.php:542
- 4 Sobi::My() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:285
- 5 SobiProCtrl->route() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:158
- 6 SobiProCtrl->__construct() JROOT/components/com_sobipro/sobipro.php:54
- 7 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
- 8 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
- 9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
- 10 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
- 11 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
- 12 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49With SobiPro 2.0.0.23 Beta 2 I can't access my sections front-end on Joomla 3.10.4. Tested with PHP 7.4 and 8.0. Following error appear:<br/><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:420
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/user.php:420
- 2 SPJoomlaUser::getCurrent() JROOT/components/com_sobipro/lib/base/factory.php:158
- 3 SPFactory::user() JROOT/components/com_sobipro/lib/sobi.php:542
- 4 Sobi::My() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:285
- 5 SobiProCtrl->route() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:158
- 6 SobiProCtrl->__construct() JROOT/components/com_sobipro/sobipro.php:54
- 7 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
- 8 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
- 9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
- 10 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
- 11 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
- 12 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:492.0 RC 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/221Fetching updates in the repository2022-02-01T12:31:29ZSławek SikoraFetching updates in the repositoryFetching updates in the repository leads to the following error:<br/><br/>
0 Cannot access offset of type string on string
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/ctrl/adm/extensions.php:738
- 2 SPExtensionsCtrl->browse() JROOT/components/com_sobipro/lib/ctrl/adm/extensions.php:115
- 3 SPExtensionsCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
- 4 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 5 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 6 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 8 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 9 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 10 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 11 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
- 12 require_once() JROOT/administrator/index.php:32
And this error page appear every time when I access repository after try of updates fetch. Above is visible with PHP 8, when PHP 7.4 is used repository page load, but there appear following errors:
<br/>
> Warning: Illegal string offset 'created' in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/adm/extensions.php on line 738
>
> Warning: Illegal string offset 'extensions' in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/adm/extensions.php on line 740
Tested with SobiPro 2.0.0.25 Beta 2; Joomla 4.0.5 and Joomla! 3.10.4Fetching updates in the repository leads to the following error:<br/><br/>
0 Cannot access offset of type string on string
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/ctrl/adm/extensions.php:738
- 2 SPExtensionsCtrl->browse() JROOT/components/com_sobipro/lib/ctrl/adm/extensions.php:115
- 3 SPExtensionsCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
- 4 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 5 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 6 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 8 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 9 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 10 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 11 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
- 12 require_once() JROOT/administrator/index.php:32
And this error page appear every time when I access repository after try of updates fetch. Above is visible with PHP 8, when PHP 7.4 is used repository page load, but there appear following errors:
<br/>
> Warning: Illegal string offset 'created' in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/adm/extensions.php on line 738
>
> Warning: Illegal string offset 'extensions' in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/adm/extensions.php on line 740
Tested with SobiPro 2.0.0.25 Beta 2; Joomla 4.0.5 and Joomla! 3.10.42.0 RC 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/174Not correct behaviour of the entries history logging2021-12-17T14:34:14ZSławek SikoraNot correct behaviour of the entries history loggingLooks like there appear some problems with correct history logging. For example there is no revision data for inputbox and textarea fields. I will update this report with some future test, in this moment I will add here tutorial for general re-creating of this issue.<br />
```
Create a new section
======================
section settings -> default
section template -> default V5 B3
acl -> add to default acl: right to approve own entries
acl -> add to default acl: right to publish own entries
acl -> add to default acl: right to edit own entries
acl -> revoke from default acl: group guests
create a default category
change default category field to a fix value (use ID from created default cat)
add this fields (all with default settings):
- textarea (field_textarea)
- gallery (field_gallery)
- geomap (field_geomap)
- radio (field_radio)
- option-1 = "Option 1"
- option-2 = "Option 2"
- option-3 = "Option 3"
Test steps Result
===============================================================================
CREATION
--------------------------------------------------------------------------------
1. create an entry in frontend | entry is created and accesible in frontend
2. goto backends entry history | 2 records available -> 1x added, 1x changed
3. click to load first hist record| Revision not found (ok, no problem)
4. click 2nd hist record (change) | Revision is loaded
5. look at the field values now | name and textarea ARE NOT marked as changed
| gallery, geomap, radio ARE marked as changed
| name and textarea show the entered values
| gallery and geomap show the entered values
| radio has NO option selected
FIRST EDIT
--------------------------------------------------------------------------------
1. edit the entry in frontend | entry is changed and shows new values
(change all field values)
2. goto backends entry history | 3 records available -> 1x added, 2x changed
3. load 'add' history record | Revision not found (ok, no problem)
4. load first change reccord | Revision is loaded
5. look at the field values | ALL Fields marked as changed now (!)
| name, textarea and geomap have data
| gallery and radio are empty (!)
| geomap shows NEW data, NOT those at creation
6. now load second change reccord | Revision is loaded
7. look at the field values | name and textarea ARE NOT marked as changed!
| gallery, geomap, radio ARE marked as changed
| name, textarea and geomap showing NEW data!
| radio shows the OLD value!
```Looks like there appear some problems with correct history logging. For example there is no revision data for inputbox and textarea fields. I will update this report with some future test, in this moment I will add here tutorial for general re-creating of this issue.<br />
```
Create a new section
======================
section settings -> default
section template -> default V5 B3
acl -> add to default acl: right to approve own entries
acl -> add to default acl: right to publish own entries
acl -> add to default acl: right to edit own entries
acl -> revoke from default acl: group guests
create a default category
change default category field to a fix value (use ID from created default cat)
add this fields (all with default settings):
- textarea (field_textarea)
- gallery (field_gallery)
- geomap (field_geomap)
- radio (field_radio)
- option-1 = "Option 1"
- option-2 = "Option 2"
- option-3 = "Option 3"
Test steps Result
===============================================================================
CREATION
--------------------------------------------------------------------------------
1. create an entry in frontend | entry is created and accesible in frontend
2. goto backends entry history | 2 records available -> 1x added, 1x changed
3. click to load first hist record| Revision not found (ok, no problem)
4. click 2nd hist record (change) | Revision is loaded
5. look at the field values now | name and textarea ARE NOT marked as changed
| gallery, geomap, radio ARE marked as changed
| name and textarea show the entered values
| gallery and geomap show the entered values
| radio has NO option selected
FIRST EDIT
--------------------------------------------------------------------------------
1. edit the entry in frontend | entry is changed and shows new values
(change all field values)
2. goto backends entry history | 3 records available -> 1x added, 2x changed
3. load 'add' history record | Revision not found (ok, no problem)
4. load first change reccord | Revision is loaded
5. look at the field values | ALL Fields marked as changed now (!)
| name, textarea and geomap have data
| gallery and radio are empty (!)
| geomap shows NEW data, NOT those at creation
6. now load second change reccord | Revision is loaded
7. look at the field values | name and textarea ARE NOT marked as changed!
| gallery, geomap, radio ARE marked as changed
| name, textarea and geomap showing NEW data!
| radio shows the OLD value!
```2.0 Alpha 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/195add_section browser title parameter2021-12-17T14:34:03ZSławek Sikoraadd_section browser title parameterPerhaps I missed something, but seems like add_section parameter in the config.ini file do not change anything in the browser title. It happens also with PHP 7Perhaps I missed something, but seems like add_section parameter in the config.ini file do not change anything in the browser title. It happens also with PHP 72.0 Beta 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/215Back-end configuration file write functionality2021-11-23T12:22:02ZSławek SikoraBack-end configuration file write functionalityPerhaps I broke something, but seems like using write configuration function in the global configuration, change all true and false values in the configuration file to 1 and 0. When this happens configuration file need to be edited manually, if we try to add true/false in the editor it is saved inside quotation marks in the file.Perhaps I broke something, but seems like using write configuration function in the global configuration, change all true and false values in the configuration file to 1 and 0. When this happens configuration file need to be edited manually, if we try to add true/false in the editor it is saved inside quotation marks in the file.2.0 Beta 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/217Entries can't be saved with notification app and PHP 82021-11-23T12:21:46ZSławek SikoraEntries can't be saved with notification app and PHP 8Saving entries cause following error when PHP 8 is set on the server. Happens on the front and back-end. Tested with SobiPro 2.0.0.18 and notification app 3.0.0.2
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/cms/joomla_common/base/lang.php:378
- 2 method_exists() JROOT/components/com_sobipro/lib/cms/joomla_common/base/lang.php:378
- 3 SPLang::parseVal() JROOT/components/com_sobipro/lib/cms/joomla_common/base/lang.php:336
- 4 SPLang::replacePlaceHolders() JROOT/components/com_sobipro/opt/plugins/bank_transfer/init.php:62
- 5 SPPBankTransfer->PaymentMethodView() JROOT/components/com_sobipro/opt/plugins/bank_transfer/init.php:41
- 6 SPPBankTransfer->AppPaymentMessageSend() JROOT/components/com_sobipro/lib/plugins/interface.php:261
- 7 SPPlugins->trigger() JROOT/components/com_sobipro/lib/sobi.php:233
- 8 Sobi::Trigger() JROOT/components/com_sobipro/opt/plugins/notifications/helper.php:162
- 9 SPNotificationHelper::payment() JROOT/components/com_sobipro/opt/plugins/notifications/helper.php:57
- 10 SPNotificationHelper::Trigger() JROOT/components/com_sobipro/opt/plugins/notifications/init.php:142
- 11 SPNotifications->__call() JROOT/components/com_sobipro/lib/plugins/interface.php:261
- 12 SPPlugins->trigger() JROOT/components/com_sobipro/lib/sobi.php:233
- 13 Sobi::Trigger() JROOT/components/com_sobipro/lib/models/entry.php:924
- 14 SPEntry->save() JROOT/components/com_sobipro/lib/ctrl/entry.php:511
- 15 SPEntryCtrl->save() JROOT/components/com_sobipro/lib/ctrl/controller.php:167
- 16 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/entry.php:84
- 17 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:574
- 18 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 19 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 20 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 21 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 22 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206
- 23 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:245
- 24 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 25 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
- 26 require_once() JROOT/index.php:32Saving entries cause following error when PHP 8 is set on the server. Happens on the front and back-end. Tested with SobiPro 2.0.0.18 and notification app 3.0.0.2
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/cms/joomla_common/base/lang.php:378
- 2 method_exists() JROOT/components/com_sobipro/lib/cms/joomla_common/base/lang.php:378
- 3 SPLang::parseVal() JROOT/components/com_sobipro/lib/cms/joomla_common/base/lang.php:336
- 4 SPLang::replacePlaceHolders() JROOT/components/com_sobipro/opt/plugins/bank_transfer/init.php:62
- 5 SPPBankTransfer->PaymentMethodView() JROOT/components/com_sobipro/opt/plugins/bank_transfer/init.php:41
- 6 SPPBankTransfer->AppPaymentMessageSend() JROOT/components/com_sobipro/lib/plugins/interface.php:261
- 7 SPPlugins->trigger() JROOT/components/com_sobipro/lib/sobi.php:233
- 8 Sobi::Trigger() JROOT/components/com_sobipro/opt/plugins/notifications/helper.php:162
- 9 SPNotificationHelper::payment() JROOT/components/com_sobipro/opt/plugins/notifications/helper.php:57
- 10 SPNotificationHelper::Trigger() JROOT/components/com_sobipro/opt/plugins/notifications/init.php:142
- 11 SPNotifications->__call() JROOT/components/com_sobipro/lib/plugins/interface.php:261
- 12 SPPlugins->trigger() JROOT/components/com_sobipro/lib/sobi.php:233
- 13 Sobi::Trigger() JROOT/components/com_sobipro/lib/models/entry.php:924
- 14 SPEntry->save() JROOT/components/com_sobipro/lib/ctrl/entry.php:511
- 15 SPEntryCtrl->save() JROOT/components/com_sobipro/lib/ctrl/controller.php:167
- 16 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/entry.php:84
- 17 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:574
- 18 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 19 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 20 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 21 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 22 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206
- 23 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:245
- 24 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 25 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
- 26 require_once() JROOT/index.php:321.6.5Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/182Save entry redirection does not show a message2021-11-15T14:27:32ZSławek SikoraSave entry redirection does not show a messageWhen redirection for saving entry form is set to custom address, there is not displayed info message after redirection.When redirection for saving entry form is set to custom address, there is not displayed info message after redirection.1.6.5Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/191Fields which are not editable, are not validated correctly for new entries2021-11-15T14:27:12ZSławek SikoraFields which are not editable, are not validated correctly for new entriesWhen required field is set as not editable, then after click on form save it isn't checked by form validator, in the result when we left it empty we will get 500 error with information that it is required field and cannot be left empty.When required field is set as not editable, then after click on form save it isn't checked by form validator, in the result when we left it empty we will get 500 error with information that it is required field and cannot be left empty.1.6.5Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/151js icons override system in section template does not work2021-11-05T12:32:41ZSławek Sikorajs icons override system in section template does not workIcons from JS files can be override only in global icons.json file. Attempt to override in the section template js/icons.json do not affect these icons. Only "upload-field" icons (PHP) can be override in such way.Icons from JS files can be override only in global icons.json file. Attempt to override in the section template js/icons.json do not affect these icons. Only "upload-field" icons (PHP) can be override in such way.2.0 Alpha 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/209Changing field state with enabled Data Accelerator and PHP 82021-11-04T09:57:23ZSławek SikoraChanging field state with enabled Data Accelerator and PHP 8Changing field state with enabled data accelerator generate following error:<br />
An error has occurred.
```
HY000 SQLSTATE[HY000]: General error: 10 disk I/O error
Call stack
# Function Location
1 () JROOT/components/com_sobipro/lib/base/cache.php:270
2 PDO->exec() JROOT/components/com_sobipro/lib/base/cache.php:270
3 SPCache->Exec() JROOT/components/com_sobipro/lib/base/cache.php:290
4 SPCache->cleanSection() JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1066
5 SPFieldAdmCtrl->changeState() JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1164
6 SPFieldAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
7 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
12 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
13 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
15 require_once() JROOT/administrator/index.php:32
```
Tested with SobiPro 2.0.0.15 Alpha 1, Joomla 4.0.3 and PHP 8.0.11Changing field state with enabled data accelerator generate following error:<br />
An error has occurred.
```
HY000 SQLSTATE[HY000]: General error: 10 disk I/O error
Call stack
# Function Location
1 () JROOT/components/com_sobipro/lib/base/cache.php:270
2 PDO->exec() JROOT/components/com_sobipro/lib/base/cache.php:270
3 SPCache->Exec() JROOT/components/com_sobipro/lib/base/cache.php:290
4 SPCache->cleanSection() JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1066
5 SPFieldAdmCtrl->changeState() JROOT/components/com_sobipro/lib/ctrl/adm/field.php:1164
6 SPFieldAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
7 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
12 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
13 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
15 require_once() JROOT/administrator/index.php:32
```
Tested with SobiPro 2.0.0.15 Alpha 1, Joomla 4.0.3 and PHP 8.0.112.0 Alpha 2Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/208Browser title generation2021-10-21T13:11:45ZSławek SikoraBrowser title generationIt seems like there are problems with proper browser title generation. Looks like categories, entries and alpha listing pages do not pass it names to the browser meta title, always section name or menu item meta title is used.It seems like there are problems with proper browser title generation. Looks like categories, entries and alpha listing pages do not pass it names to the browser meta title, always section name or menu item meta title is used.2.0 Alpha 2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/210saving entries with empty select fields - now with PHP 82021-10-21T13:10:50ZSławek Sikorasaving entries with empty select fields - now with PHP 8Looks like there is similar issue as before:<br />
https://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/204
However now it happens only with PHP 8 and generate following error:<br />
```
0 count(): Argument #1 ($value) must be of type Countable|array, null given
Call stack
# Function Location
1 () JROOT/components/com_sobipro/opt/fields/select.php:460
2 SPField_Select->fetchData() JROOT/components/com_sobipro/opt/fields/select.php:507
3 SPField_Select->submit() JROOT/components/com_sobipro/lib/models/field.php:892
4 SPField->__call() JROOT/components/com_sobipro/lib/ctrl/entry.php:249
5 SPEntryCtrl->submit() JROOT/components/com_sobipro/lib/ctrl/entry.php:73
6 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:574
7 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206
12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:245
13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
15 require_once() JROOT/index.php:32
```
Tested with SobiPro 2.0.0.15Looks like there is similar issue as before:<br />
https://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/204
However now it happens only with PHP 8 and generate following error:<br />
```
0 count(): Argument #1 ($value) must be of type Countable|array, null given
Call stack
# Function Location
1 () JROOT/components/com_sobipro/opt/fields/select.php:460
2 SPField_Select->fetchData() JROOT/components/com_sobipro/opt/fields/select.php:507
3 SPField_Select->submit() JROOT/components/com_sobipro/lib/models/field.php:892
4 SPField->__call() JROOT/components/com_sobipro/lib/ctrl/entry.php:249
5 SPEntryCtrl->submit() JROOT/components/com_sobipro/lib/ctrl/entry.php:73
6 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:574
7 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206
12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:245
13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
15 require_once() JROOT/index.php:32
```
Tested with SobiPro 2.0.0.152.0 Alpha 2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/211Failed upgrade - SobiPro 2.0 - Joomla 4.02021-10-21T13:10:35ZGarry-PFailed upgrade - SobiPro 2.0 - Joomla 4.0Failed to create table #__sobipro_crawler
-----------------------------------------------------------------------------------------------------------------------------
Failed to convert table #__sobipro_category
-----------------------------------------------------------------------------------------------------------------------------
Failed to convert table #__sobipro_plugins
-----------------------------------------------------------------------------------------------------------------------------
Call to undefined method PDO::real_query()
-----------------------------------------------------------------------------------------------------------------------------
| PHP Built On | Linux server 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 |
|------------------------------------------------|---------------------------------------------------------------------------
| Database Type | mysql |
| Database Version | 5.7.27-30 |
| Database Collation | utf8mb4_general_ci |
| Database Connection Collation | utf8mb4_general_ci |
| Database Connection Encryption | None |
| Database Server Supports Connection Encryption | Yes |
| PHP Version | 7.4.23 |
| Web Server | nginx/1.18.0 |
| WebServer to PHP Interface | fpm-fcgi |
| Joomla! Version | Joomla! 4.0.3 Stable [ Furaha ] 12-September-2021 10:39 GMT |
| User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 |Failed to create table #__sobipro_crawler
-----------------------------------------------------------------------------------------------------------------------------
Failed to convert table #__sobipro_category
-----------------------------------------------------------------------------------------------------------------------------
Failed to convert table #__sobipro_plugins
-----------------------------------------------------------------------------------------------------------------------------
Call to undefined method PDO::real_query()
-----------------------------------------------------------------------------------------------------------------------------
| PHP Built On | Linux server 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 |
|------------------------------------------------|---------------------------------------------------------------------------
| Database Type | mysql |
| Database Version | 5.7.27-30 |
| Database Collation | utf8mb4_general_ci |
| Database Connection Collation | utf8mb4_general_ci |
| Database Connection Encryption | None |
| Database Server Supports Connection Encryption | Yes |
| PHP Version | 7.4.23 |
| Web Server | nginx/1.18.0 |
| WebServer to PHP Interface | fpm-fcgi |
| Joomla! Version | Joomla! 4.0.3 Stable [ Furaha ] 12-September-2021 10:39 GMT |
| User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 |2.0 Alpha 2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/214Saving entries with image field with PHP 82021-10-21T13:10:19ZSławek SikoraSaving entries with image field with PHP 8When trying to save a entry from the front-end where is uploaded image in the image field got following error:<br />
```
0 count(): Argument #1 ($value) must be of type Countable|array, bool given
Call stack
# Function Location
1 () JROOT/components/com_sobipro/opt/fields/image.php:427
2 SPField_Image->verify() JROOT/components/com_sobipro/opt/fields/image.php:1348
3 SPField_Image->storeData() JROOT/components/com_sobipro/opt/fields/image.php:791
4 SPField_Image->saveData() JROOT/components/com_sobipro/lib/models/field.php:892
5 SPField->__call() JROOT/components/com_sobipro/lib/models/entry.php:794
6 SPEntry->save() JROOT/components/com_sobipro/lib/ctrl/entry.php:510
7 SPEntryCtrl->save() JROOT/components/com_sobipro/lib/ctrl/controller.php:167
8 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/entry.php:84
9 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:574
10 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
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/SiteApplication.php:206
15 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:245
16 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
18 require_once() JROOT/index.php:32
```
<br />Back-end seems to be saving correctly
<br />Tested with SobiPro 2.0.0.15 and Joomla 4.0.3When trying to save a entry from the front-end where is uploaded image in the image field got following error:<br />
```
0 count(): Argument #1 ($value) must be of type Countable|array, bool given
Call stack
# Function Location
1 () JROOT/components/com_sobipro/opt/fields/image.php:427
2 SPField_Image->verify() JROOT/components/com_sobipro/opt/fields/image.php:1348
3 SPField_Image->storeData() JROOT/components/com_sobipro/opt/fields/image.php:791
4 SPField_Image->saveData() JROOT/components/com_sobipro/lib/models/field.php:892
5 SPField->__call() JROOT/components/com_sobipro/lib/models/entry.php:794
6 SPEntry->save() JROOT/components/com_sobipro/lib/ctrl/entry.php:510
7 SPEntryCtrl->save() JROOT/components/com_sobipro/lib/ctrl/controller.php:167
8 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/entry.php:84
9 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:574
10 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
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/SiteApplication.php:206
15 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:245
16 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
18 require_once() JROOT/index.php:32
```
<br />Back-end seems to be saving correctly
<br />Tested with SobiPro 2.0.0.15 and Joomla 4.0.32.0 Alpha 2Sigrid SuskiSigrid Suski