Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S SobiPro
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Sigsiu.NET GmbH
  • SobiPro
  • Issues
  • #245

Closed
Open
Created Aug 08, 2023 by Sławek Sikora@SikorReporter

Setting error reporting to none cause fatal error on PHP 8

When option error reporting level is set to none and PHP is >= 8 all fron and back-end views crash with fatal error:

0 error_reporting(): Argument #1 (closed) ($error_level) must be of type ?int, string given

Call stack
# Function Location
1 () JROOT/components/com_sobipro/lib/ctrl/sobipro.php:110
2 error_reporting() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:110
3 SobiProCtrl->__construct() JROOT/components/com_sobipro/sobipro.php:54
4 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
5 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
6 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
7 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
8 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
9 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
10 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
11 require_once() JROOT/index.php:32
Assignee
Assign to
2.3.5
Milestone
2.3.5
Assign milestone
Time tracking

footer

Legal Notice / Impressum | Data Protection / Datenschutzinformation