* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; /** @var \Joomla\CMS\Document\ErrorDocument $this */ // Add required assets $this->getWebAssetManager() ->registerAndUseStyle('template.installation', 'template' . ($this->direction === 'rtl' ? '-rtl' : '') . '.css') ->useScript('core') ->registerAndUseScript('template.installation', 'installation/template/js/template.js', [], [], ['core']); $this->getWebAssetManager() ->useStyle('webcomponent.joomla-alert') ->useScript('messages'); // Add script options $this->addScriptOptions('system.installation', ['url' => Route::_('index.php')]); // Set page title $this->setTitle($this->error->getCode() . ' - ' . htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8')); $this->setMetaData('viewport', 'width=device-width, initial-scale=1'); ?>

error->getCode(); ?> error->getMessage(), ENT_QUOTES, 'UTF-8'); ?>

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'); ?>

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