/** * {@inheritDoc} */ public function renderFatalMain($type, $errstr, $errfile, $errline) { $template = parent::renderFatalMain($type, $errstr, $errfile, $errline); // Add the search. $template = str_replace('{search}', $this->renderSearch(), $template); return str_replace('{KrexxId}', $this->storage->recursionHandler->getMarker(), $template); }