$document->astroidCustomCSS(); echo $document->renderLinks(); echo $document->getStylesheets(); echo $document->getScripts('head'); echo $document->getCustomTags('head'); echo $document->astroidInlineCSS(); ?></head><body class="error-page" <?php echo implode(' ', $bodyAttrs); ?>><div class="container"> // Store the file path $this->_file = $directory . '/' . $filename; // Get the file content ob_start(); require $directory . '/' . $filename; $contents = ob_get_clean(); } return $contents; } $this->baseurl = Uri::base(true); $this->params = $params['params'] ?? new Registry(); $this->template = $template; // Load $this->_template = $this->_loadTemplate($baseDir, $file); return $this; } /** * * @since 1.7.0 */ public function parse($params = []) { return $this->_fetchTemplate($params)->_parseTemplate(); } /** * Outputs the template to the browser. * public function render($caching = false, $params = []) { $this->_caching = $caching; if (empty($this->_template)) { $this->parse($params); } if (\array_key_exists('csp_nonce', $params) && $params['csp_nonce'] !== null) { $this->cspNonce = $params['csp_nonce']; } $this->debug = $params['debug'] ?? false; $this->error = $this->_error; $params['file'] = 'error.php'; return parent::render($cache, $params); } /** * Render the backtrace * ob_end_clean(); } $this->getDocument()->setTitle(Text::_('Error') . ': ' . $error->getCode()); return $this->getDocument()->render( false, [ 'template' => $template->template, 'directory' => JPATH_THEMES, 'debug' => JDEBUG, 'subject' => $app, 'document' => $renderer->getDocument(), ]) ); $data = $renderer->render($error); // If nothing was rendered, just use the message from the Exception if (empty($data)) { $data = $error->getMessage(); } * @since 3.10.0 */ public static function handleException(\Throwable $error) { static::logException($error); static::render($error); } /** * Render the error page based on an exception. * ); // Trigger the onError event. $this->dispatchEvent('onError', $event); ExceptionHandler::handleException($event->getError()); } // Trigger the onBeforeRespond event. $this->dispatchEvent( 'onBeforeRespond',// Set the application as global app\Joomla\CMS\Factory::$application = $app;// Execute the application.$app->execute(); // ... die die();}// Run the application - All executable code should be triggered through this filerequire_once __DIR__ . '/includes/app.php'; $this->connection = $connection; $this->query = $query; $query = $this->prepareParameterKeyMapping($query); $this->statement = $connection->prepare($query); if (!$this->statement) { throw new PrepareStatementFailureException($this->connection->error, $this->connection->errno); } } $this->connection = $connection; $this->query = $query; $query = $this->prepareParameterKeyMapping($query); $this->statement = $connection->prepare($query); if (!$this->statement) { throw new PrepareStatementFailureException($this->connection->error, $this->connection->errno); } } * @since 2.0.0 * @throws PrepareStatementFailureException */ protected function prepareStatement(string $query): StatementInterface { return new MysqliStatement($this->connection, $query); } /** * Unlocks tables in the database. * $query->setLimit($limit, $offset); $sql = $this->replacePrefix((string) $query); $this->statement = $this->prepareStatement($sql); $this->sql = $query; $this->limit = (int) max(0, $limit); $this->offset = (int) max(0, $offset); ->select($this->db->quoteName('id')) ->from($this->db->quoteName('#__icagenda_events')) ->where($this->db->quoteName('alias') . ' = :alias') ->bind(':alias', $alias); $id = $this->db->setQuery($query)->loadResult(); return $id; }} $position = strpos($segment, ':'); if ($position) { $segment = $segment; } else { $segment = $this->getEventId($segment) . ':' . $segment; } return $segment; } unset($segments[0]); unset($segments[1]); } else { // Event with single date $vars['id'] = $this->fixSegmentID($segments[0]); $vars['view'] = 'event'; $vars['date'] = $segments[1]; unset($segments[0]); unset($segments[1]); if (\count($segments)) { // Handle component route $component = preg_replace('/[^A-Z0-9_\.-]/i', '', $uri->getVar('option')); $crouter = $this->getComponentRouter($component); $uri->setQuery(array_merge($uri->getQuery(true), $crouter->parse($segments))); } $route = implode('/', $segments); } if (!\array_key_exists('parse' . $stage, $this->rules)) { throw new \InvalidArgumentException(\sprintf('The %s stage is not registered. (%s)', $stage, __METHOD__)); } foreach ($this->rules['parse' . $stage] as $rule) { $rule($this, $uri); } } /** * Process the build uri query data based on custom defined rules // Do the preprocess stage of the URL parse process $this->processParseRules($uri, self::PROCESS_BEFORE); // Do the main stage of the URL parse process $this->processParseRules($uri); // Do the postprocess stage of the URL parse process $this->processParseRules($uri, self::PROCESS_AFTER); // Check if all parts of the URL have been parsed. // Get the full request URI. $uri = clone Uri::getInstance(); // It is not possible to inject the SiteRouter as it requires a SiteApplication // and we would end in an infinite loop $result = $this->getContainer()->get(SiteRouter::class)->parse($uri, true); $active = $this->getMenu()->getActive(); if ( $active !== null // Mark afterInitialise in the profiler. JDEBUG ? $this->profiler->mark('afterInitialise') : null; // Route the application $this->route(); // Mark afterRoute in the profiler. JDEBUG ? $this->profiler->mark('afterRoute') : null; if (!$this->isHandlingMultiFactorAuthentication()) { $this->sanityCheckSystemVariables(); $this->setupLogging(); $this->createExtensionNamespaceMap(); // Perform application routines. $this->doExecute(); // If we have an application document object, render it. if ($this->document instanceof \Joomla\CMS\Document\Document) { // Render the application output. $this->render();// Set the application as global app\Joomla\CMS\Factory::$application = $app;// Execute the application.$app->execute(); // ... die die();}// Run the application - All executable code should be triggered through this filerequire_once __DIR__ . '/includes/app.php';|
[2/2]
UndefinedMethodError
|
|---|
Symfony\Component\ErrorHandler\Error\UndefinedMethodError:
Attempted to call an undefined method named "astroidInlineCSS" of class "Astroid\Document".
at /www/htdocs/w017ee68/eventservice-hiller.de/templates/tp_top/error.php:60
at require()
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Document/HtmlDocument.php:734)
at Joomla\CMS\Document\HtmlDocument->_loadTemplate('/www/htdocs/w017ee68/eventservice-hiller.de/templates/tp_top', 'error.php')
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Document/HtmlDocument.php:788)
at Joomla\CMS\Document\HtmlDocument->_fetchTemplate(array('template' => 'tp_top', 'directory' => '/www/htdocs/w017ee68/eventservice-hiller.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Document/HtmlDocument.php:625)
at Joomla\CMS\Document\HtmlDocument->parse(array('template' => 'tp_top', 'directory' => '/www/htdocs/w017ee68/eventservice-hiller.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Document/HtmlDocument.php:643)
at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'tp_top', 'directory' => '/www/htdocs/w017ee68/eventservice-hiller.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Document/ErrorDocument.php:139)
at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'tp_top', 'directory' => '/www/htdocs/w017ee68/eventservice-hiller.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Error/Renderer/HtmlRenderer.php:70)
at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(mysqli_sql_exception))
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Exception/ExceptionHandler.php:142)
at Joomla\CMS\Exception\ExceptionHandler::render(object(mysqli_sql_exception))
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Exception/ExceptionHandler.php:76)
at Joomla\CMS\Exception\ExceptionHandler::handleException(object(mysqli_sql_exception))
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Application/CMSApplication.php:334)
at Joomla\CMS\Application\CMSApplication->execute()
(/www/htdocs/w017ee68/eventservice-hiller.de/includes/app.php:58)
at require_once('/www/htdocs/w017ee68/eventservice-hiller.de/includes/app.php')
(/www/htdocs/w017ee68/eventservice-hiller.de/index.php:51)
|
|
[1/2]
mysqli_sql_exception
|
|---|
mysqli_sql_exception:
Table 'd0413dd8.lp5e9_icagenda_events' doesn't exist
at /www/htdocs/w017ee68/eventservice-hiller.de/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:138
at mysqli->prepare('SELECT `id`FROM `lp5e9_icagenda_events`WHERE `alias` = ?')
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:138)
at Joomla\Database\Mysqli\MysqliStatement->__construct(object(mysqli), 'SELECT `id`FROM `lp5e9_icagenda_events`WHERE `alias` = ?')
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:972)
at Joomla\Database\Mysqli\MysqliDriver->prepareStatement('SELECT `id`FROM `lp5e9_icagenda_events`WHERE `alias` = :alias')
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/vendor/joomla/database/src/DatabaseDriver.php:1780)
at Joomla\Database\DatabaseDriver->setQuery(object(MysqliQuery))
(/www/htdocs/w017ee68/eventservice-hiller.de/components/com_icagenda/src/Service/Router.php:346)
at WebiC\Component\iCagenda\Site\Service\Router->getEventId('38-oktober-gaudi-aurich')
(/www/htdocs/w017ee68/eventservice-hiller.de/components/com_icagenda/src/Service/Router.php:321)
at WebiC\Component\iCagenda\Site\Service\Router->fixSegmentID('38-oktober-gaudi-aurich')
(/www/htdocs/w017ee68/eventservice-hiller.de/components/com_icagenda/src/Service/Router.php:235)
at WebiC\Component\iCagenda\Site\Service\Router->parse(array('38-oktober-gaudi-aurich', '2025-10-04-20-00'))
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Router/SiteRouter.php:287)
at Joomla\CMS\Router\SiteRouter->parseSefRoute(object(SiteRouter), object(Uri))
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Router/Router.php:423)
at Joomla\CMS\Router\Router->processParseRules(object(Uri))
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Router/Router.php:158)
at Joomla\CMS\Router\Router->parse(object(Uri), true)
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Application/SiteApplication.php:767)
at Joomla\CMS\Application\SiteApplication->route()
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Application/SiteApplication.php:243)
at Joomla\CMS\Application\SiteApplication->doExecute()
(/www/htdocs/w017ee68/eventservice-hiller.de/libraries/src/Application/CMSApplication.php:304)
at Joomla\CMS\Application\CMSApplication->execute()
(/www/htdocs/w017ee68/eventservice-hiller.de/includes/app.php:58)
at require_once('/www/htdocs/w017ee68/eventservice-hiller.de/includes/app.php')
(/www/htdocs/w017ee68/eventservice-hiller.de/index.php:51)
|