Entries can't be saved with notification app and PHP 8
Saving 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
-
- 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:32