getTemplate(true)->params; $app = JFactory::getApplication(); $lang = JFactory::getLanguage(); $input = $app->input; $user = JFactory::getUser(); // Gets the FrontEnd Main page Uri $frontEndUri = JUri::getInstance(JUri::root()); $frontEndUri->setScheme(((int) $app->get('force_ssl', 0) === 2) ? 'https' : 'http'); $mainPageUri = $frontEndUri->toString(); // Detecting Active Variables $option = $input->get('option', ''); $view = $input->get('view', ''); $layout = $input->get('layout', ''); $task = $input->get('task', ''); $itemid = $input->get('Itemid', 0, 'int'); $sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8'); $cpanel = ($option === 'com_cpanel'); $showSubmenu = false; $this->submenumodules = JModuleHelper::getModules('submenu'); foreach ($this->submenumodules as $submenumodule) { $output = JModuleHelper::renderModule($submenumodule); if ($output !== '') { $showSubmenu = true; break; } } // Logo file if ($params->get('logoFile')) { $logo = JUri::root() . $params->get('logoFile'); } else { $logo = $this->baseurl . '/templates/' . $this->template . '/images/logo.png'; } // Template Parameters $displayHeader = $params->get('displayHeader', '1'); $statusFixed = $params->get('statusFixed', '1'); $stickyToolbar = $params->get('stickyToolbar', '1'); ?> <?php echo $this->title; ?> <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8'); ?> get('debug_lang', '0') == '1' || $app->get('debug', '0') == '1') : ?> direction == 'rtl') : ?> getTag() . '/' . $lang->getTag() . '.css'; ?> get('templateColor')) : ?> get('headerColor')) : ?> get('sidebarColor')) : ?>

getInstance()->countModules('status')) : ?>

error->getCode(); ?> 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); ?>