Email field encryption causes fatal error
Enabling email field encryption cause fatal error during entry saving process: An error has occurred.
0 Sobi\Utils\Encryption::Encrypt(): Argument #1 ($data) must be of type string, array given, called in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/opt/fields/email.php on line 391
- Call stack
-
- 1 () JROOT/libraries/sobi/Utils/Encryption.php:39
- 2 Sobi\Utils\Encryption::Encrypt() JROOT/components/com_sobipro/opt/fields/email.php:391
- 3 SPField_Email->saveData() JROOT/components/com_sobipro/lib/models/field.php:896
- 4 SPField->__call() JROOT/components/com_sobipro/lib/models/entry.php:799
- 5 SPEntry->save() JROOT/components/com_sobipro/lib/ctrl/adm/entry.php:407
- 6 SPEntryAdmCtrl->save() JROOT/components/com_sobipro/lib/ctrl/controller.php:170
- 7 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/entry.php:84
- 8 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/entry.php:107
- 9 SPEntryAdmCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
- 10 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
- 18 require_once() JROOT/administrator/index.php:32