RouteNotFoundException UnknownAssetException

HTTP 500 Whoops, looks like something went wrong.

There is no "template.cassiopeia.ltr" asset of a "preset" type in the registry.

Exceptions 2

Joomla\CMS\WebAsset\Exception\ UnknownAssetException

  1.     {
  2.         // Check if any new file was added
  3.         $this->parseRegistryFiles();
  4.         if (empty($this->assets[$type][$name])) {
  5.             throw new UnknownAssetException(sprintf('There is no "%s" asset of a "%s" type in the registry.'$name$type));
  6.         }
  7.         return $this->assets[$type][$name];
  8.     }
WebAssetRegistry->get('preset', 'template.cassiopeia.ltr') in /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/WebAsset/WebAssetManager.php (line 263)
  1.         if ($this->locked) {
  2.             throw new InvalidActionException('WebAssetManager is locked, you came late');
  3.         }
  4.         // Check whether asset exists
  5.         $asset $this->registry->get($type$name);
  6.         if (empty($this->activeAssets[$type])) {
  7.             $this->activeAssets[$type] = [];
  8.         }
WebAssetManager->useAsset('preset', 'template.cassiopeia.ltr') in /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/WebAsset/WebAssetManager.php (line 197)
  1.             if (empty($arguments[0])) {
  2.                 throw new \BadMethodCallException('An asset name is required');
  3.             }
  4.             return $this->useAsset($type$arguments[0]);
  5.         }
  6.         if (=== strpos($method'addinline')) {
  7.             $type substr($method9);
WebAssetManager->__call('usepreset', array('template.cassiopeia.ltr')) in /var/customers/webs/u75/musikschule-vogtland.de/templates/theme3702/error.php (line 66)
  1.         $this->getPreloadManager()->preload($wa->getAsset('style''fontscheme.current')->getUri() . '?' $this->getMediaVersion(), ['as' => 'style']);
  2.     }
  3. }
  4. // Enable assets
  5. $wa->usePreset('template.cassiopeia.' . ($this->direction === 'rtl' 'rtl' 'ltr'))
  6.     ->useStyle('template.active.language')
  7.     ->useStyle('template.user')
  8.     ->useScript('template.user')
  9.     ->addInlineStyle(":root {
  10.         --hue: 214;
require('/var/customers/webs/u75/musikschule-vogtland.de/templates/theme3702/error.php') in /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Document/HtmlDocument.php (line 731)
  1.             // Store the file path
  2.             $this->_file $directory '/' $filename;
  3.             // Get the file content
  4.             ob_start();
  5.             require $directory '/' $filename;
  6.             $contents ob_get_clean();
  7.         }
  8.         return $contents;
  9.     }
HtmlDocument->_loadTemplate('/var/customers/webs/u75/musikschule-vogtland.de/templates/theme3702', 'error.php') in /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Document/HtmlDocument.php (line 785)
  1.         $this->baseurl  Uri::base(true);
  2.         $this->params   $params['params'] ?? new Registry();
  3.         $this->template $template;
  4.         // Load
  5.         $this->_template $this->_loadTemplate($baseDir$file);
  6.         return $this;
  7.     }
  8.     /**
HtmlDocument->_fetchTemplate(array('template' => 'theme3702', 'directory' => '/var/customers/webs/u75/musikschule-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Document/HtmlDocument.php (line 622)
  1.      *
  2.      * @since   1.7.0
  3.      */
  4.     public function parse($params = [])
  5.     {
  6.         return $this->_fetchTemplate($params)->_parseTemplate();
  7.     }
  8.     /**
  9.      * Outputs the template to the browser.
  10.      *
HtmlDocument->parse(array('template' => 'theme3702', 'directory' => '/var/customers/webs/u75/musikschule-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Document/HtmlDocument.php (line 640)
  1.     public function render($caching false$params = [])
  2.     {
  3.         $this->_caching $caching;
  4.         if (empty($this->_template)) {
  5.             $this->parse($params);
  6.         }
  7.         if (\array_key_exists('csp_nonce'$params) && $params['csp_nonce'] !== null) {
  8.             $this->cspNonce $params['csp_nonce'];
  9.         }
HtmlDocument->render(false, array('template' => 'theme3702', 'directory' => '/var/customers/webs/u75/musikschule-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Document/ErrorDocument.php (line 139)
  1.         $this->debug $params['debug'] ?? false;
  2.         $this->error $this->_error;
  3.         $params['file'] = 'error.php';
  4.         return parent::render($cache$params);
  5.     }
  6.     /**
  7.      * Render the backtrace
  8.      *
ErrorDocument->render(false, array('template' => 'theme3702', 'directory' => '/var/customers/webs/u75/musikschule-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Error/Renderer/HtmlRenderer.php (line 78)
  1.                 'template'         => $template->template,
  2.                 'directory'        => JPATH_THEMES,
  3.                 'debug'            => JDEBUG,
  4.                 'csp_nonce'        => $app->get('csp_nonce'),
  5.                 'templateInherits' => $template->parent,
  6.                 'params'           => $template->params,
  7.             ]
  8.         );
  9.     }
  10. }
HtmlRenderer->render(object(RouteNotFoundException)) in /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Exception/ExceptionHandler.php (line 136)
  1.                     'subject'  => $app,
  2.                     'document' => $renderer->getDocument(),
  3.                 ])
  4.             );
  5.             $data $renderer->render($error);
  6.             // If nothing was rendered, just use the message from the Exception
  7.             if (empty($data)) {
  8.                 $data $error->getMessage();
  9.             }
ExceptionHandler::render(object(RouteNotFoundException)) in /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Exception/ExceptionHandler.php (line 73)
  1.      * @since   3.10.0
  2.      */
  3.     public static function handleException(\Throwable $error)
  4.     {
  5.         static::logException($error);
  6.         static::render($error);
  7.     }
  8.     /**
  9.      * Render the error page based on an exception.
  10.      *
ExceptionHandler::handleException(object(RouteNotFoundException)) in /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Application/CMSApplication.php (line 336)
  1.             );
  2.             // Trigger the onError event.
  3.             $this->dispatchEvent('onError'$event);
  4.             ExceptionHandler::handleException($event->getError());
  5.         }
  6.         // Trigger the onBeforeRespond event.
  7.         $this->dispatchEvent(
  8.             'onBeforeRespond',
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/customers/webs/u75/musikschule-vogtland.de/includes/app.php') in /var/customers/webs/u75/musikschule-vogtland.de/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Joomla\CMS\Router\Exception\ RouteNotFoundException

Seite nicht gefunden

  1.         $this->processParseRules($uriself::PROCESS_AFTER);
  2.         // Check if all parts of the URL have been parsed.
  3.         // Otherwise we have an invalid URL
  4.         if (\strlen($uri->getPath()) > 0) {
  5.             throw new RouteNotFoundException(Text::_('JERROR_PAGE_NOT_FOUND'));
  6.         }
  7.         if ($setVars) {
  8.             $this->setVars($uri->getQuery(true));
  1.         // Get the full request URI.
  2.         $uri = clone Uri::getInstance();
  3.         // It is not possible to inject the SiteRouter as it requires a SiteApplication
  4.         // and we would end in an infinite loop
  5.         $result $this->getContainer()->get(SiteRouter::class)->parse($uritrue);
  6.         $active $this->getMenu()->getActive();
  7.         if (
  8.             $active !== null
  1.         // Mark afterInitialise in the profiler.
  2.         JDEBUG $this->profiler->mark('afterInitialise') : null;
  3.         // Route the application
  4.         $this->route();
  5.         // Mark afterRoute in the profiler.
  6.         JDEBUG $this->profiler->mark('afterRoute') : null;
  7.         if (!$this->isHandlingMultiFactorAuthentication()) {
  1.             $this->sanityCheckSystemVariables();
  2.             $this->setupLogging();
  3.             $this->createExtensionNamespaceMap();
  4.             // Perform application routines.
  5.             $this->doExecute();
  6.             // If we have an application document object, render it.
  7.             if ($this->document instanceof \Joomla\CMS\Document\Document) {
  8.                 // Render the application output.
  9.                 $this->render();
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/customers/webs/u75/musikschule-vogtland.de/includes/app.php') in /var/customers/webs/u75/musikschule-vogtland.de/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Stack Traces 2

[2/2] UnknownAssetException
Joomla\CMS\WebAsset\Exception\UnknownAssetException:
There is no "template.cassiopeia.ltr" asset of a "preset" type in the registry.

  at /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/WebAsset/WebAssetRegistry.php:135
  at Joomla\CMS\WebAsset\WebAssetRegistry->get('preset', 'template.cassiopeia.ltr')
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/WebAsset/WebAssetManager.php:263)
  at Joomla\CMS\WebAsset\WebAssetManager->useAsset('preset', 'template.cassiopeia.ltr')
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/WebAsset/WebAssetManager.php:197)
  at Joomla\CMS\WebAsset\WebAssetManager->__call('usepreset', array('template.cassiopeia.ltr'))
     (/var/customers/webs/u75/musikschule-vogtland.de/templates/theme3702/error.php:66)
  at require('/var/customers/webs/u75/musikschule-vogtland.de/templates/theme3702/error.php')
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Document/HtmlDocument.php:731)
  at Joomla\CMS\Document\HtmlDocument->_loadTemplate('/var/customers/webs/u75/musikschule-vogtland.de/templates/theme3702', 'error.php')
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Document/HtmlDocument.php:785)
  at Joomla\CMS\Document\HtmlDocument->_fetchTemplate(array('template' => 'theme3702', 'directory' => '/var/customers/webs/u75/musikschule-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Document/HtmlDocument.php:622)
  at Joomla\CMS\Document\HtmlDocument->parse(array('template' => 'theme3702', 'directory' => '/var/customers/webs/u75/musikschule-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Document/HtmlDocument.php:640)
  at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'theme3702', 'directory' => '/var/customers/webs/u75/musikschule-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'theme3702', 'directory' => '/var/customers/webs/u75/musikschule-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Error/Renderer/HtmlRenderer.php:78)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(RouteNotFoundException))
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Exception/ExceptionHandler.php:136)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(RouteNotFoundException))
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Exception/ExceptionHandler.php:73)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(RouteNotFoundException))
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Application/CMSApplication.php:336)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/customers/webs/u75/musikschule-vogtland.de/includes/app.php:58)
  at require_once('/var/customers/webs/u75/musikschule-vogtland.de/includes/app.php')
     (/var/customers/webs/u75/musikschule-vogtland.de/index.php:32)                
[1/2] RouteNotFoundException
Joomla\CMS\Router\Exception\RouteNotFoundException:
Seite nicht gefunden

  at /var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Router/Router.php:155
  at Joomla\CMS\Router\Router->parse(object(Uri), true)
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Application/SiteApplication.php:754)
  at Joomla\CMS\Application\SiteApplication->route()
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Application/SiteApplication.php:244)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/var/customers/webs/u75/musikschule-vogtland.de/libraries/src/Application/CMSApplication.php:306)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/customers/webs/u75/musikschule-vogtland.de/includes/app.php:58)
  at require_once('/var/customers/webs/u75/musikschule-vogtland.de/includes/app.php')
     (/var/customers/webs/u75/musikschule-vogtland.de/index.php:32)