Something went wrong while setting issue due date.
email field type cannot be used as email field for profile field
Closed
email field type cannot be used as email field for profile field
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
-
- 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.
moved from ProfileField#6 (moved)
added Profile Field in Profile Field Joomla4 bug in development new labels
removed new label
added fixed in vc label and removed Joomla4 label
removed Profile Field in Profile Field label
added SobiPro 2.x Core label
assigned to @TrinitySu
changed milestone to %2.1.1
removed in development label
removed fixed in vc label
added test passed label
Please register or sign in to reply