Error 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 /home/fresha/public_html/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 /home/fresha/public_html/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 /home/fresha/public_html/templates/sparky_framework/error.php (line 58)
  1.     $wa->registerAndUseStyle($assetFontScheme$templatePath '/css/global/' $paramsFontScheme '.css');
  2.     $this->getPreloadManager()->prefetch($wa->getAsset('style'$assetFontScheme)->getUri(), ['as' => 'style']);
  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('/home/fresha/public_html/templates/sparky_framework/error.php') in /home/fresha/public_html/libraries/src/Document/HtmlDocument.php (line 736)
  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_contents();
  7.             ob_end_clean();
  8.         }
  9.         return $contents;
HtmlDocument->_loadTemplate('/home/fresha/public_html/templates/sparky_framework', 'error.php') in /home/fresha/public_html/libraries/src/Document/HtmlDocument.php (line 791)
  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' => 'paradise', 'directory' => '/home/fresha/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => 'sparky_framework', 'params' => object(Registry), 'file' => 'error.php')) in /home/fresha/public_html/libraries/src/Document/HtmlDocument.php (line 608)
  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' => 'paradise', 'directory' => '/home/fresha/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => 'sparky_framework', 'params' => object(Registry), 'file' => 'error.php')) in /home/fresha/public_html/libraries/src/Document/HtmlDocument.php (line 626)
  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' => 'paradise', 'directory' => '/home/fresha/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => 'sparky_framework', 'params' => object(Registry), 'file' => 'error.php')) in /home/fresha/public_html/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' => 'paradise', 'directory' => '/home/fresha/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => 'sparky_framework', 'params' => object(Registry), 'file' => 'error.php')) in /home/fresha/public_html/libraries/src/Error/Renderer/HtmlRenderer.php (line 79)
  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(Error)) in /home/fresha/public_html/libraries/src/Exception/ExceptionHandler.php (line 121)
  1.             // Reset the document object in the factory, this gives us a clean slate and lets everything render properly
  2.             Factory::$document $renderer->getDocument();
  3.             Factory::getApplication()->loadDocument(Factory::$document);
  4.             $data $renderer->render($error);
  5.             // If nothing was rendered, just use the message from the Exception
  6.             if (empty($data)) {
  7.                 $data $error->getMessage();
  8.             }
ExceptionHandler::render(object(Error)) in /home/fresha/public_html/libraries/src/Exception/ExceptionHandler.php (line 72)
  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(Error)) in /home/fresha/public_html/libraries/src/Application/CMSApplication.php (line 323)
  1.             );
  2.             // Trigger the onError event.
  3.             $this->triggerEvent('onError'$event);
  4.             ExceptionHandler::handleException($event->getError());
  5.         }
  6.         // Trigger the onBeforeRespond event.
  7.         $this->getDispatcher()->dispatch('onBeforeRespond');
CMSApplication->execute() in /home/fresha/public_html/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/fresha/public_html/includes/app.php') in /home/fresha/public_html/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';

Error

Call to undefined method Joomla\CMS\Pagination\Pagination::get()

  1.         <?php if ($this->params->get('tag_list_description''') > '') : ?>
  2.             <?php echo JHtml::_('content.prepare'$this->params->get('tag_list_description'), '''com_tags.tag'); ?>
  3.         <?php endif; ?>
  4.     <?php endif; ?>
  5.     <?php echo $this->loadTemplate('items'); ?>
  6.     <?php if (($this->params->def('show_pagination'1) == || ($this->params->get('show_pagination') == 2)) && ($this->pagination->get('pages.total') > 1)) : ?>
  7.         <div class="pagination">
  8.             <?php if ($this->params->def('show_pagination_results'1)) : ?>
  9.                 <p class="counter pull-right">
  10.                     <?php echo $this->pagination->getPagesCounter(); ?>
  11.                 </p>
  1.             // Start capturing output into a buffer
  2.             ob_start();
  3.             // Include the requested template filename in the local scope
  4.             // (this will execute the view logic).
  5.             include $this->_template;
  6.             // Done with the requested template; get the buffer and
  7.             // clear it.
  8.             $this->_output ob_get_contents();
  9.             ob_end_clean();
HtmlView->loadTemplate(null) in /home/fresha/public_html/libraries/src/MVC/View/HtmlView.php (line 203)
  1.                     'extension'  => $context
  2.                 ]
  3.             )
  4.         );
  5.         $result $this->loadTemplate($tpl);
  6.         $eventResult $app->getDispatcher()->dispatch(
  7.             'onAfterDisplay',
  8.             AbstractEvent::create(
  9.                 'onAfterDisplay',
  1.         $model $this->getModel();
  2.         $model->hit();
  3.         $this->_prepareDocument();
  4.         parent::display($tpl);
  5.     }
  6.     /**
  7.      * Prepares the document.
  8.      *
  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(false, array('id' => 'ARRAY', 'type' => 'ARRAY', 'limit' => 'UINT', 'limitstart' => 'UINT', 'filter_order' => 'CMD', 'filter_order_Dir' => 'CMD', 'lang' => 'CMD')) in /home/fresha/public_html/components/com_tags/src/Controller/DisplayController.php (line 59)
  1.             'filter_order'     => 'CMD',
  2.             'filter_order_Dir' => 'CMD',
  3.             'lang'             => 'CMD'
  4.         ];
  5.         return parent::display($cachable$safeurlparams);
  6.     }
  7. }
  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.         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_tags') in /home/fresha/public_html/libraries/src/Application/SiteApplication.php (line 200)
  1.             $document->setGenerator('Joomla! - Open Source Content Management - Version ' JVERSION);
  2.         } else {
  3.             $document->setGenerator('Joomla! - Open Source Content Management');
  4.         }
  5.         $contents ComponentHelper::renderComponent($component);
  6.         $document->setBuffer($contents'component');
  7.         // Trigger the onAfterDispatch event.
  8.         PluginHelper::importPlugin('system');
  9.         $this->triggerEvent('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();
CMSApplication->execute() in /home/fresha/public_html/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/fresha/public_html/includes/app.php') in /home/fresha/public_html/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 /home/fresha/public_html/libraries/src/WebAsset/WebAssetRegistry.php:134
  at Joomla\CMS\WebAsset\WebAssetRegistry->get('preset', 'template.cassiopeia.ltr')
     (/home/fresha/public_html/libraries/src/WebAsset/WebAssetManager.php:263)
  at Joomla\CMS\WebAsset\WebAssetManager->useAsset('preset', 'template.cassiopeia.ltr')
     (/home/fresha/public_html/libraries/src/WebAsset/WebAssetManager.php:197)
  at Joomla\CMS\WebAsset\WebAssetManager->__call('usepreset', array('template.cassiopeia.ltr'))
     (/home/fresha/public_html/templates/sparky_framework/error.php:58)
  at require('/home/fresha/public_html/templates/sparky_framework/error.php')
     (/home/fresha/public_html/libraries/src/Document/HtmlDocument.php:736)
  at Joomla\CMS\Document\HtmlDocument->_loadTemplate('/home/fresha/public_html/templates/sparky_framework', 'error.php')
     (/home/fresha/public_html/libraries/src/Document/HtmlDocument.php:791)
  at Joomla\CMS\Document\HtmlDocument->_fetchTemplate(array('template' => 'paradise', 'directory' => '/home/fresha/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => 'sparky_framework', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/fresha/public_html/libraries/src/Document/HtmlDocument.php:608)
  at Joomla\CMS\Document\HtmlDocument->parse(array('template' => 'paradise', 'directory' => '/home/fresha/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => 'sparky_framework', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/fresha/public_html/libraries/src/Document/HtmlDocument.php:626)
  at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'paradise', 'directory' => '/home/fresha/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => 'sparky_framework', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/fresha/public_html/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'paradise', 'directory' => '/home/fresha/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => 'sparky_framework', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/fresha/public_html/libraries/src/Error/Renderer/HtmlRenderer.php:79)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(Error))
     (/home/fresha/public_html/libraries/src/Exception/ExceptionHandler.php:121)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(Error))
     (/home/fresha/public_html/libraries/src/Exception/ExceptionHandler.php:72)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Error))
     (/home/fresha/public_html/libraries/src/Application/CMSApplication.php:323)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/fresha/public_html/includes/app.php:61)
  at require_once('/home/fresha/public_html/includes/app.php')
     (/home/fresha/public_html/index.php:32)                
[1/2] Error
Error:
Call to undefined method Joomla\CMS\Pagination\Pagination::get()

  at /home/fresha/public_html/templates/sparky_framework/html/com_tags/tag/default.php:55
  at include()
     (/home/fresha/public_html/libraries/src/MVC/View/HtmlView.php:410)
  at Joomla\CMS\MVC\View\HtmlView->loadTemplate(null)
     (/home/fresha/public_html/libraries/src/MVC/View/HtmlView.php:203)
  at Joomla\CMS\MVC\View\HtmlView->display(null)
     (/home/fresha/public_html/components/com_tags/src/View/Tag/HtmlView.php:283)
  at Joomla\Component\Tags\Site\View\Tag\HtmlView->display()
     (/home/fresha/public_html/libraries/src/MVC/Controller/BaseController.php:639)
  at Joomla\CMS\MVC\Controller\BaseController->display(false, array('id' => 'ARRAY', 'type' => 'ARRAY', 'limit' => 'UINT', 'limitstart' => 'UINT', 'filter_order' => 'CMD', 'filter_order_Dir' => 'CMD', 'lang' => 'CMD'))
     (/home/fresha/public_html/components/com_tags/src/Controller/DisplayController.php:59)
  at Joomla\Component\Tags\Site\Controller\DisplayController->display()
     (/home/fresha/public_html/libraries/src/MVC/Controller/BaseController.php:672)
  at Joomla\CMS\MVC\Controller\BaseController->execute('display')
     (/home/fresha/public_html/libraries/src/Dispatcher/ComponentDispatcher.php:143)
  at Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
     (/home/fresha/public_html/libraries/src/Component/ComponentHelper.php:355)
  at Joomla\CMS\Component\ComponentHelper::renderComponent('com_tags')
     (/home/fresha/public_html/libraries/src/Application/SiteApplication.php:200)
  at Joomla\CMS\Application\SiteApplication->dispatch()
     (/home/fresha/public_html/libraries/src/Application/SiteApplication.php:241)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home/fresha/public_html/libraries/src/Application/CMSApplication.php:294)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/fresha/public_html/includes/app.php:61)
  at require_once('/home/fresha/public_html/includes/app.php')
     (/home/fresha/public_html/index.php:32)