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
  • #4

Closed
Open
Created Oct 10, 2022 by Sławek Sikora@SikorReporter

Fatal error on details view

The problem happens when there is no marked section to display entries entries. So profile field is set to the input mode and Show Entries From option in the Entry View Field Settings tab have no selection, then when we open entry details page, there appear following error:

  •  0 count(): Argument #1 ($value) must be of type Countable|array, null given 
  • Call stack
  • Function Location

  • 1 () JROOT/components/com_sobipro/lib/mlo/profile_helper.php:46
  • 2 SPProfile::Entries() JROOT/components/com_sobipro/opt/fields/profile.php:851
  • 3 SPField_Profile->EntryViewDetails() JROOT/components/com_sobipro/lib/plugins/interface.php:255
  • 4 SPPlugins->trigger() JROOT/components/com_sobipro/lib/sobi.php:232
  • 5 Sobi::Trigger() JROOT/components/com_sobipro/lib/views/entry.php:164
  • 6 SPEntryView->details() JROOT/components/com_sobipro/lib/views/entry.php:49
  • 7 SPEntryView->display() JROOT/components/com_sobipro/lib/ctrl/entry.php:828
  • 8 SPEntryCtrl->details() JROOT/components/com_sobipro/lib/ctrl/entry.php:77
  • 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
Assignee
Assign to
3.1
Milestone
3.1 (Past due)
Assign milestone
Time tracking

footer

Legal Notice / Impressum | Data Protection / Datenschutzinformation