getTemplate(true); $params = $template->params->get('config'); if (!is_array($params)) { $params = json_decode($params, true); } // Prefer child theme's error.php if (isset($params['child_theme']) && file_exists($file = "{$directory}_{$params['child_theme']}/error.php")) { return include $file; } $error = $this->error->getCode(); $message = $this->error->getMessage(); if ($error == 404) { $app->triggerEvent('onLoad404', [$result = new ArrayObject()]); } $favicon = isset($params['favicon']) ? "{$this->baseurl}/{$params['favicon']}" : "{$this->baseurl}/templates/yootheme/vendor/yootheme/theme-joomla/assets/images/favicon.png"; $favicon_svg = isset($params['favicon_svg']) ? "{$this->baseurl}/{$params['favicon_svg']}" : false; $touchicon = isset($params['touchicon']) ? "{$this->baseurl}/{$params['touchicon']}" : "{$this->baseurl}/templates/yootheme/vendor/yootheme/theme-joomla/assets/images/apple-touch-icon.png"; $rtl = $doc->direction == 'ltr' ? '' : '.rtl'; $style = class_exists(File::class) ? Url::to(File::find("~theme/css/theme{.{$template->id},}{$rtl}.css")) : "{$this->baseurl}/templates/system/css/theme{$rtl}.css"; $customCss = isset($params['child_theme']) && file_exists("{$directory}_{$params['child_theme']}/css/custom.css") ? "{$this->baseurl}/templates/{$template->template}_{$params['child_theme']}/css/custom.css" : false; $customJs = isset($params['child_theme']) && file_exists("{$directory}_{$params['child_theme']}/js/custom.js") ? "{$this->baseurl}/templates/{$template->template}_{$params['child_theme']}/js/custom.js" : false; ?> <?= $error ?> - <?= $message ?> />

debug) : ?>
renderBacktrace() ?> error->getPrevious()) : ?> 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) ?>