Exception 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/u12/futurum-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/u12/futurum-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/u12/futurum-vogtland.de/templates/ar-template/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/u12/futurum-vogtland.de/templates/ar-template/error.php') in /var/customers/webs/u12/futurum-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/u12/futurum-vogtland.de/templates/ar-template', 'error.php') in /var/customers/webs/u12/futurum-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' => 'ar-template', 'directory' => '/var/customers/webs/u12/futurum-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /var/customers/webs/u12/futurum-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' => 'ar-template', 'directory' => '/var/customers/webs/u12/futurum-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /var/customers/webs/u12/futurum-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' => 'ar-template', 'directory' => '/var/customers/webs/u12/futurum-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /var/customers/webs/u12/futurum-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' => 'ar-template', 'directory' => '/var/customers/webs/u12/futurum-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /var/customers/webs/u12/futurum-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. }
  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.             }
  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(Exception)) in /var/customers/webs/u12/futurum-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/u12/futurum-vogtland.de/includes/app.php') in /var/customers/webs/u12/futurum-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';

Exception

Beitrag nicht gefunden

  1.                 $db->setQuery($query);
  2.                 $data $db->loadObject();
  3.                 if (empty($data)) {
  4.                     throw new \Exception(Text::_('COM_CONTENT_ERROR_ARTICLE_NOT_FOUND'), 404);
  5.                 }
  6.                 // Check for published state if filter set.
  7.                 if ((is_numeric($published) || is_numeric($archived)) && ($data->state != $published && $data->state != $archived)) {
  8.                     throw new \Exception(Text::_('COM_CONTENT_ERROR_ARTICLE_NOT_FOUND'), 404);
  1.             $method 'get' ucfirst($property);
  2.             // Does the method exist?
  3.             if (method_exists($this->_models[$model], $method)) {
  4.                 // The method exists, let's call it and return what we get
  5.                 return $this->_models[$model]->$method();
  6.             }
  7.         }
  8.         return $this->legacyGet($property$default);
  9.     }
  1.         }
  2.         $app  Factory::getApplication();
  3.         $user $this->getCurrentUser();
  4.         $this->item  $this->get('Item');
  5.         $this->print $app->getInput()->getBool('print'false);
  6.         $this->state $this->get('State');
  7.         $this->user  $user;
  8.         // Check for errors.
  1.                 $cache->get($view'display');
  2.             } catch (CacheExceptionInterface $exception) {
  3.                 $view->display();
  4.             }
  5.         } else {
  6.             $view->display();
  7.         }
  8.         return $this;
  9.     }
BaseController->display(true, array('catid' => 'INT', 'id' => 'INT', 'cid' => 'ARRAY', 'year' => 'INT', 'month' => 'INT', 'limit' => 'UINT', 'limitstart' => 'UINT', 'showall' => 'INT', 'return' => 'BASE64', 'filter' => 'STRING', 'filter_order' => 'CMD', 'filter_order_Dir' => 'CMD', 'filter-search' => 'STRING', 'print' => 'BOOLEAN', 'lang' => 'CMD', 'Itemid' => 'INT')) in /var/customers/webs/u12/futurum-vogtland.de/components/com_content/src/Controller/DisplayController.php (line 122)
  1.                     $model->hit();
  2.                 }
  3.             }
  4.         }
  5.         parent::display($cachable$safeurlparams);
  6.         return $this;
  7.     }
  8. }
  1.         }
  2.         // Record the actual task being fired
  3.         $this->doTask $doTask;
  4.         return $this->$doTask();
  5.     }
  6.     /**
  7.      * Method to get a model object, loading it if required.
  8.      *
  1.             $config['name'] = strtolower($this->input->get('controller'));
  2.         }
  3.         // Execute the task for this component
  4.         $controller $this->getController($controllerucfirst($this->app->getName()), $config);
  5.         $controller->execute($task);
  6.         $controller->redirect();
  7.     }
  8.     /**
  9.      * Get a controller from the component
  1.                 return;
  2.             }
  3.         }
  4.         parent::dispatch();
  5.     }
  6. }
  1.         if (!static::isEnabled($option)) {
  2.             throw new MissingComponentException(Text::_('JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND'), 404);
  3.         }
  4.         ob_start();
  5.         $app->bootComponent($option)->getDispatcher($app)->dispatch();
  6.         $contents ob_get_clean();
  7.         // Revert the scope
  8.         $app->scope $scope;
ComponentHelper::renderComponent('com_content') in /var/customers/webs/u12/futurum-vogtland.de/libraries/src/Application/SiteApplication.php (line 218)
  1.         $this->dispatchEvent(
  2.             'onAfterInitialiseDocument',
  3.             new AfterInitialiseDocumentEvent('onAfterInitialiseDocument', ['subject' => $this'document' => $document])
  4.         );
  5.         $contents ComponentHelper::renderComponent($component);
  6.         $document->setBuffer($contents, ['type' => 'component']);
  7.         // Trigger the onAfterDispatch event.
  8.         $this->dispatchEvent(
  9.             'onAfterDispatch',
  1.              */
  2.             $this->checkUserRequireReset('com_users''profile''edit''com_users/profile.save,com_users/profile.apply,com_users/user.logout');
  3.         }
  4.         // Dispatch the application
  5.         $this->dispatch();
  6.         // Mark afterDispatch in the profiler.
  7.         JDEBUG $this->profiler->mark('afterDispatch') : null;
  8.     }
  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/u12/futurum-vogtland.de/includes/app.php') in /var/customers/webs/u12/futurum-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/u12/futurum-vogtland.de/libraries/src/WebAsset/WebAssetRegistry.php:135
  at Joomla\CMS\WebAsset\WebAssetRegistry->get('preset', 'template.cassiopeia.ltr')
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/WebAsset/WebAssetManager.php:263)
  at Joomla\CMS\WebAsset\WebAssetManager->useAsset('preset', 'template.cassiopeia.ltr')
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/WebAsset/WebAssetManager.php:197)
  at Joomla\CMS\WebAsset\WebAssetManager->__call('usepreset', array('template.cassiopeia.ltr'))
     (/var/customers/webs/u12/futurum-vogtland.de/templates/ar-template/error.php:66)
  at require('/var/customers/webs/u12/futurum-vogtland.de/templates/ar-template/error.php')
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Document/HtmlDocument.php:731)
  at Joomla\CMS\Document\HtmlDocument->_loadTemplate('/var/customers/webs/u12/futurum-vogtland.de/templates/ar-template', 'error.php')
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Document/HtmlDocument.php:785)
  at Joomla\CMS\Document\HtmlDocument->_fetchTemplate(array('template' => 'ar-template', 'directory' => '/var/customers/webs/u12/futurum-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Document/HtmlDocument.php:622)
  at Joomla\CMS\Document\HtmlDocument->parse(array('template' => 'ar-template', 'directory' => '/var/customers/webs/u12/futurum-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Document/HtmlDocument.php:640)
  at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'ar-template', 'directory' => '/var/customers/webs/u12/futurum-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'ar-template', 'directory' => '/var/customers/webs/u12/futurum-vogtland.de/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Error/Renderer/HtmlRenderer.php:78)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(Exception))
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Exception/ExceptionHandler.php:136)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(Exception))
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Exception/ExceptionHandler.php:73)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Exception))
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Application/CMSApplication.php:336)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/customers/webs/u12/futurum-vogtland.de/includes/app.php:58)
  at require_once('/var/customers/webs/u12/futurum-vogtland.de/includes/app.php')
     (/var/customers/webs/u12/futurum-vogtland.de/index.php:32)                
[1/2] Exception
Exception:
Beitrag nicht gefunden

  at /var/customers/webs/u12/futurum-vogtland.de/components/com_content/src/Model/ArticleModel.php:218
  at Joomla\Component\Content\Site\Model\ArticleModel->getItem()
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/MVC/View/AbstractView.php:159)
  at Joomla\CMS\MVC\View\AbstractView->get('Item')
     (/var/customers/webs/u12/futurum-vogtland.de/components/com_content/src/View/Article/HtmlView.php:110)
  at Joomla\Component\Content\Site\View\Article\HtmlView->display()
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/MVC/Controller/BaseController.php:697)
  at Joomla\CMS\MVC\Controller\BaseController->display(true, array('catid' => 'INT', 'id' => 'INT', 'cid' => 'ARRAY', 'year' => 'INT', 'month' => 'INT', 'limit' => 'UINT', 'limitstart' => 'UINT', 'showall' => 'INT', 'return' => 'BASE64', 'filter' => 'STRING', 'filter_order' => 'CMD', 'filter_order_Dir' => 'CMD', 'filter-search' => 'STRING', 'print' => 'BOOLEAN', 'lang' => 'CMD', 'Itemid' => 'INT'))
     (/var/customers/webs/u12/futurum-vogtland.de/components/com_content/src/Controller/DisplayController.php:122)
  at Joomla\Component\Content\Site\Controller\DisplayController->display()
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/MVC/Controller/BaseController.php:730)
  at Joomla\CMS\MVC\Controller\BaseController->execute('display')
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Dispatcher/ComponentDispatcher.php:143)
  at Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
     (/var/customers/webs/u12/futurum-vogtland.de/components/com_content/src/Dispatcher/Dispatcher.php:56)
  at Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch()
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Component/ComponentHelper.php:361)
  at Joomla\CMS\Component\ComponentHelper::renderComponent('com_content')
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Application/SiteApplication.php:218)
  at Joomla\CMS\Application\SiteApplication->dispatch()
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Application/SiteApplication.php:261)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/var/customers/webs/u12/futurum-vogtland.de/libraries/src/Application/CMSApplication.php:306)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/customers/webs/u12/futurum-vogtland.de/includes/app.php:58)
  at require_once('/var/customers/webs/u12/futurum-vogtland.de/includes/app.php')
     (/var/customers/webs/u12/futurum-vogtland.de/index.php:32)