Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P Profile Field
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Sigsiu.NET GmbH
  • Profile Field
  • Issues
  • #6

Closed (moved)
(moved)
Open
Created Oct 25, 2022 by Sławek Sikora@SikorReporter

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
  • 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.

Edited Oct 25, 2022 by Sigrid Suski
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking

footer

Legal Notice / Impressum | Data Protection / Datenschutzinformation