Summary:
debug mode causes fatal error in PHP 8
Detailed Description:
Setting $config['debug'] = TRUE; in config.php causes:
Fatal error: Uncaught TypeError: error_reporting(): Argument #1 ($error_level)
must be of type ?int, string given in
/home/path/lib/smarty/sysplugins/smarty_internal_templatebase.php:201 Stack
trace: #0
/home/path/lib/smarty/sysplugins/smarty_internal_templatebase.php(201):
error_reporting() #1
/home/path/lib/smarty/sysplugins/smarty_internal_templatebase.php(116):
Smarty_Internal_TemplateBase->_execute() #2
/home/path/lib/classes/internal/class.CMS_Smarty_Template.php(20):
Smarty_Internal_TemplateBase->fetch() #3 /home/path/index.php(151):
CMS_Smarty_Template->fetch() #4 {main} thrown in
/home/path/lib/smarty/sysplugins/smarty_internal_templatebase.php on line 201