getCode(); $code = !empty($code) ? $code : 500; $app = class_exists('\Joomla\CMS\Factory') ? \Joomla\CMS\Factory::getApplication() : \JFactory::getApplication(); $user30 = (class_exists('JFactory') && method_exists('JFactory', 'getUser')) ? JFactory::getUser() : null; $user38 = class_exists('\Joomla\CMS\Factory') && method_exists('\Joomla\CMS\Factory', 'getUser') ? \Joomla\CMS\Factory::getUser() : null; $user40 = (is_object($app) && method_exists($app, 'getIdentity')) ? $app->getIdentity() : null; $user = is_null($user40) ? $user38 : $user40; $user = is_null($user40) ? $user30 : $user; $isSuper = !is_null($user) && $user->authorise('core.admin'); $isFrontend = class_exists('JApplicationSite') && ($app instanceof JApplicationSite); $isFrontend = $isFrontend || (class_exists('\Joomla\CMS\Application\SiteApplication') && ($app instanceof \Joomla\CMS\Application\SiteApplication)); $user = $isFrontend ? (method_exists($app, 'getIdentity') ? $app->getIdentity() : JFactory::getUser()) : null; $hideTheError = $isFrontend && !(defined('JDEBUG') && (JDEBUG == 1)) && !$isSuper; $isPro = !isset($isPro) ? false : $isPro; // 403 and 404 are re-thrown if (in_array($code, [403, 404])) { throw $e; } if (version_compare(JVERSION, '4', 'lt')) { $app->setHeader('HTTP/1.1', $code); } else { // In Joomla 4 we have to use the "Status" header, otherwise we get a fatal error saying that // HTTP/1.1 is not a valid header $app->setHeader('Status', $code); } if (!$isFrontend) { if (class_exists('\Joomla\CMS\Toolbar\ToolbarHelper')) { \Joomla\CMS\Toolbar\ToolbarHelper::title($title . ' Unhandled Exception'); } else { JToolbarHelper::title($title . ' Unhandled Exception'); } } $isJoomla3 = version_compare(JVERSION, '3.999.999', 'le'); ?>
Please contact the administrator of the site and let them know of this error and what you were doing when this happened.
Please contact the administrator of the site and let them know of this error and what you were doing when this happened.
File getFile())) ?>
Line getLine() ?>
Line getLine() ?>
Would you like us to help you faster?
Save this page as PDF or HTML. Make a ZIP file containing this PDF or HTML file. When filing a support ticket please attach the ZIP file (not the PDF or HTML file itself).
Why do we need all that information? This information is an x-ray of your site at the time the error occurred. It lets us reproduce the issue or, if it's not a bug in our software, help you pinpoint the external reason which led to it.
What about privacy? Attachments are private in our ticket system: only you and us can see them, even if you file a public ticket, and they are automatically deleted after a month.
The content below this point is for developers and power users.
Joomla = JVERSION ?> – PHP = PHP_VERSION ?> on = PHP_OS ?>
Exception type:
getTraceAsString()) ?>getPrevious()): ?>
File getFile())) ?> Line getLine() ?>
Exception type:
getTraceAsString()) ?>
| Operating System (reported by PHP) | |
| PHP version (as reported by your server) | |
| PHP Built On | |
| PHP SAPI | |
| Server identity | |
| Browser identity | |
| Joomla! version | |
| Database driver name | getName() ?> |
| Database driver type | getServerType() ?> |
| Database server version | getVersion() ?> |
| Database collation | getCollation() ?> |
| Database connection collation | getConnectionCollation() ?> |
| PHP Memory limit | |
| Peak Memory usage | |
| PHP Timeout (seconds) |
getSession()->getData()->toArray(), true));
}
else
{
echo htmlentities(print_r($app->getSession()->all(), true));
}
?>
bootComponent('com_admin')->getMVCFactory();
/** @var \Joomla\Component\Admin\Administrator\Model\SysinfoModel $model */
$model = $factory->createModel('Sysinfo', 'Administrator');
}
catch (Exception $e)
{
return;
}
}
$directories = $model->getDirectory();
try
{
$extensions = $model->getExtensions();
}
catch (Exception $e)
{
$extension = [];
}
$phpSettings = $model->getPhpSettings();
$hasPHPInfo = $model->phpinfoEnabled();
?>
| Writeable Unwriteable |