* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Uri\Uri; /** @var Joomla\CMS\Document\ErrorDocument $this */ if (!isset($this->error)) { $this->error = new Exception(Text::_('JERROR_ALERTNOAUTHOR')); $this->debug = false; } // Load template CSS file $this->getWebAssetManager()->registerAndUseStyle('template.system.error', 'media/system/css/system-site-error.css'); if ($this->direction === 'rtl') { $this->getWebAssetManager()->registerAndUseStyle('template.system.error_rtl', 'media/system/css/system-site-error_rtl.css'); } // Set page title $this->setTitle($this->error->getCode() . ' - ' . htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8')); ?>
error->getCode(); ?> - error->getMessage(), ENT_QUOTES, 'UTF-8'); ?>

error->getMessage(), ENT_QUOTES, 'UTF-8'); ?> debug) : ?>
error->getFile(), ENT_QUOTES, 'UTF-8');?>:error->getLine(); ?>

debug) : ?>
renderBacktrace(); ?> error->getPrevious()) : ?> _error here and in the loop as setError() assigns errors to this property and we need this for the backtrace to work correctly ?> setError($this->_error->getPrevious()); ?>

_error->getMessage(), ENT_QUOTES, 'UTF-8'); ?>
_error->getFile(), ENT_QUOTES, 'UTF-8');?>:_error->getLine(); ?>

renderBacktrace(); ?> setError($this->_error->getPrevious()); ?> setError($this->error); ?>