Warning: include(/www/htdocs/w00c9180/joomla5/libraries/vendor/composer/../../../libraries/src/WebAsset/Exception/UnknownAssetException.php): Failed to open stream: No such file or directory in /www/htdocs/w00c9180/joomla5/libraries/vendor/composer/ClassLoader.php on line 576

Warning: include(): Failed opening '/www/htdocs/w00c9180/joomla5/libraries/vendor/composer/../../../libraries/src/WebAsset/Exception/UnknownAssetException.php' for inclusion (include_path='.:/usr/share/php:..') in /www/htdocs/w00c9180/joomla5/libraries/vendor/composer/ClassLoader.php on line 576
Attempted to load class "UnknownAssetException" from namespace "Joomla\CMS\WebAsset\Exception". Did you forget a "use" statement for another namespace? (500 Whoops, looks like something went wrong.)

Error ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load class "UnknownAssetException" from namespace "Joomla\CMS\WebAsset\Exception".
Did you forget a "use" statement for another namespace?

Exceptions 2

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

WebAssetRegistry->get('script', 'inline.breadcrumbs-schemaorg') in /www/htdocs/w00c9180/joomla5/plugins/system/schemaorg/src/Extension/Schemaorg.php (line 393)
  1. $webPageSchema['inLanguage'] = $app->getLanguage()->getTag();
  2. // Support Breadcrumb Schema linking
  3. try {
  4. try {
  5. $breadcrumbsAsset = $wa->getRegistry()->get('script', 'inline.breadcrumbs-schemaorg');
  6. } catch (UnknownAssetException $e) {
  7. // Fallback for older versions of the breadcrumbs module
  8. $breadcrumbsAsset = $wa->getRegistry()->get('script', 'inline.mod_breadcrumbs-schemaorg');
  9. trigger_deprecation(
  10. 'joomla/schemaorg',
  1. foreach ($this->listeners[$event->getName()] as $listener) {
  2. if ($event->isStopped()) {
  3. return $event;
  4. }
  5. $listener($event);
  6. }
  7. }
  8. return $event;
  9. }
Dispatcher->dispatch('onBeforeCompileHead', object(BeforeCompileHeadEvent)) in /www/htdocs/w00c9180/joomla5/libraries/src/Document/Renderer/Html/MetasRenderer.php (line 62)
  1. // Check for AttachBehavior
  2. $onAttachCallCache = WebAssetManager::callOnAttachCallback($wa->getAssets('script', true), $this->_doc);
  3. // Trigger the onBeforeCompileHead event
  4. $app->getDispatcher()->dispatch(
  5. 'onBeforeCompileHead',
  6. new BeforeCompileHeadEvent('onBeforeCompileHead', ['subject' => $app, 'document' => $this->_doc])
  7. );
  8. // Re-Check for AttachBehavior for newly added assets
MetasRenderer->render(null, array(), null) in /www/htdocs/w00c9180/joomla5/libraries/src/Document/Renderer/Html/HeadRenderer.php (line 38)
  1. *
  2. * @since 3.5
  3. */
  4. public function render($head, $params = [], $content = null)
  5. {
  6. return $this->_doc->loadRenderer('metas')->render($head, $params, $content)
  7. . $this->_doc->loadRenderer('styles')->render($head, $params, $content)
  8. . $this->_doc->loadRenderer('scripts')->render($head, $params, $content);
  9. }
  10. }
HeadRenderer->render(null, array(), null) in /www/htdocs/w00c9180/joomla5/libraries/src/Document/HtmlDocument.php (line 575)
  1. $cbuffer[$hash] = $tmpdata;
  2. $cache->store($cbuffer, 'cbuffer_' . $type);
  3. } else {
  4. $this->setBuffer($renderer->render($name, $attribs, null), $type, $name, $title);
  5. }
  6. return parent::$_buffer[$type][$name][$title];
  7. }
HtmlDocument->getBuffer('head', null, array()) in /www/htdocs/w00c9180/joomla5/libraries/src/Document/HtmlDocument.php (line 894)
  1. $replace = [];
  2. $with = [];
  3. foreach ($this->_template_tags as $jdoc => $args) {
  4. $replace[] = $jdoc;
  5. $with[] = $this->getBuffer($args['type'], $args['name'], $args['attribs']);
  6. }
  7. return str_replace($replace, $with, $this->_template);
  8. }
  9. }
  1. if (\array_key_exists('csp_nonce', $params) && $params['csp_nonce'] !== null) {
  2. $this->cspNonce = $params['csp_nonce'];
  3. }
  4. $data = $this->_renderTemplate();
  5. parent::render($caching, $params);
  6. return $data;
  7. }
HtmlDocument->render(false, array('template' => 'proaudio', 'directory' => '/www/htdocs/w00c9180/joomla5/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /www/htdocs/w00c9180/joomla5/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' => 'proaudio', 'directory' => '/www/htdocs/w00c9180/joomla5/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /www/htdocs/w00c9180/joomla5/libraries/src/Error/Renderer/HtmlRenderer.php (line 70)
HtmlRenderer->render(object(Error)) in /www/htdocs/w00c9180/joomla5/libraries/src/Exception/ExceptionHandler.php (line 139)
ExceptionHandler::render(object(Error)) in /www/htdocs/w00c9180/joomla5/libraries/src/Exception/ExceptionHandler.php (line 73)
ExceptionHandler::handleException(object(Error)) in /www/htdocs/w00c9180/joomla5/libraries/src/Application/CMSApplication.php (line 334)
  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',
CMSApplication->execute() in /www/htdocs/w00c9180/joomla5/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/www/htdocs/w00c9180/joomla5/includes/app.php') in /www/htdocs/w00c9180/joomla5/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 __DIR__ . '/includes/app.php';

Error

Class "Joomla\CMS\MVC\Model\ItemModel" not found

  1. /**
  2. * Content Component Article Model
  3. *
  4. * @since 1.5
  5. */
  6. class ArticleModel extends ItemModel
  7. {
  8. /**
  9. * Model context string.
  10. *
  11. * @var string
  1. *
  2. * @param string $file
  3. * @return void
  4. */
  5. self::$includeFile = \Closure::bind(static function($file) {
  6. include $file;
  7. }, null, null);
  8. }
  9. }
  1. */
  2. public function loadClass($class)
  3. {
  4. if ($file = $this->findFile($class)) {
  5. $includeFile = self::$includeFile;
  6. $includeFile($file);
  7. return true;
  8. }
  9. return null;
ClassLoader->loadClass('Joomla\\Component\\Content\\Site\\Model\\ArticleModel') in /www/htdocs/w00c9180/joomla5/libraries/src/Autoload/ClassLoader.php (line 59)
  1. *
  2. * @since 3.4
  3. */
  4. public function loadClass($class)
  5. {
  6. if ($result = $this->loader->loadClass($class)) {
  7. \JLoader::applyAliasFor($class);
  8. }
  9. return $result;
  10. }
ClassLoader->loadClass('Joomla\\Component\\Content\\Site\\Model\\ArticleModel')
class_exists('Joomla\\Component\\Content\\Site\\Model\\ArticleModel') in /www/htdocs/w00c9180/joomla5/libraries/src/MVC/Factory/MVCFactory.php (line 299)
MVCFactory->getClassName('Model\\ArticleModel', 'site') in /www/htdocs/w00c9180/joomla5/libraries/src/MVC/Factory/MVCFactory.php (line 156)
MVCFactory->createModel('article', 'site', array()) in /www/htdocs/w00c9180/joomla5/libraries/src/MVC/Controller/BaseController.php (line 574)
BaseController->createModel('article', 'site', array()) in /www/htdocs/w00c9180/joomla5/libraries/src/MVC/Controller/BaseController.php (line 761)
  1. throw new \Exception(Text::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id), 403);
  2. }
  3. if ($vName === 'article' && \in_array($this->input->getMethod(), ['GET', 'POST'])) {
  4. // Get/Create the model
  5. if ($model = $this->getModel($vName)) {
  6. if (ComponentHelper::getParams('com_content')->get('record_hits', 1) == 1) {
  7. $model->hit();
  8. }
  9. }
  10. }
  1. $config['name'] = strtolower($this->input->get('controller'));
  2. }
  3. // Execute the task for this component
  4. $controller = $this->getController($controller, ucfirst($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. }
ComponentHelper::renderComponent('com_content') in /www/htdocs/w00c9180/joomla5/libraries/src/Application/SiteApplication.php (line 217)
  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. ['option' => 'com_users', 'task' => 'method.save'],
  2. ]);
  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 /www/htdocs/w00c9180/joomla5/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/www/htdocs/w00c9180/joomla5/includes/app.php') in /www/htdocs/w00c9180/joomla5/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 __DIR__ . '/includes/app.php';

Stack Traces 2

[2/2] ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "UnknownAssetException" from namespace "Joomla\CMS\WebAsset\Exception".
Did you forget a "use" statement for another namespace?

  at /www/htdocs/w00c9180/joomla5/libraries/src/WebAsset/WebAssetRegistry.php:135
  at Joomla\CMS\WebAsset\WebAssetRegistry->get('script', 'inline.breadcrumbs-schemaorg')
     (/www/htdocs/w00c9180/joomla5/plugins/system/schemaorg/src/Extension/Schemaorg.php:393)
  at Joomla\Plugin\System\Schemaorg\Extension\Schemaorg->onBeforeCompileHead(object(BeforeCompileHeadEvent))
     (/www/htdocs/w00c9180/joomla5/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch('onBeforeCompileHead', object(BeforeCompileHeadEvent))
     (/www/htdocs/w00c9180/joomla5/libraries/src/Document/Renderer/Html/MetasRenderer.php:62)
  at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render(null, array(), null)
     (/www/htdocs/w00c9180/joomla5/libraries/src/Document/Renderer/Html/HeadRenderer.php:38)
  at Joomla\CMS\Document\Renderer\Html\HeadRenderer->render(null, array(), null)
     (/www/htdocs/w00c9180/joomla5/libraries/src/Document/HtmlDocument.php:575)
  at Joomla\CMS\Document\HtmlDocument->getBuffer('head', null, array())
     (/www/htdocs/w00c9180/joomla5/libraries/src/Document/HtmlDocument.php:894)
  at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
     (/www/htdocs/w00c9180/joomla5/libraries/src/Document/HtmlDocument.php:647)
  at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'proaudio', 'directory' => '/www/htdocs/w00c9180/joomla5/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/www/htdocs/w00c9180/joomla5/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'proaudio', 'directory' => '/www/htdocs/w00c9180/joomla5/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/www/htdocs/w00c9180/joomla5/libraries/src/Error/Renderer/HtmlRenderer.php:70)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(Error))
     (/www/htdocs/w00c9180/joomla5/libraries/src/Exception/ExceptionHandler.php:139)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(Error))
     (/www/htdocs/w00c9180/joomla5/libraries/src/Exception/ExceptionHandler.php:73)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Error))
     (/www/htdocs/w00c9180/joomla5/libraries/src/Application/CMSApplication.php:334)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/www/htdocs/w00c9180/joomla5/includes/app.php:58)
  at require_once('/www/htdocs/w00c9180/joomla5/includes/app.php')
     (/www/htdocs/w00c9180/joomla5/index.php:32)                
[1/2] Error
Error:
Class "Joomla\CMS\MVC\Model\ItemModel" not found

  at /www/htdocs/w00c9180/joomla5/components/com_content/src/Model/ArticleModel.php:32
  at include()
     (/www/htdocs/w00c9180/joomla5/libraries/vendor/composer/ClassLoader.php:576)
  at Composer\Autoload\{closure}('/www/htdocs/w00c9180/joomla5/components/com_content/src/Model/ArticleModel.php')
     (/www/htdocs/w00c9180/joomla5/libraries/vendor/composer/ClassLoader.php:427)
  at Composer\Autoload\ClassLoader->loadClass('Joomla\\Component\\Content\\Site\\Model\\ArticleModel')
     (/www/htdocs/w00c9180/joomla5/libraries/src/Autoload/ClassLoader.php:59)
  at Joomla\CMS\Autoload\ClassLoader->loadClass('Joomla\\Component\\Content\\Site\\Model\\ArticleModel')
  at class_exists('Joomla\\Component\\Content\\Site\\Model\\ArticleModel')
     (/www/htdocs/w00c9180/joomla5/libraries/src/MVC/Factory/MVCFactory.php:299)
  at Joomla\CMS\MVC\Factory\MVCFactory->getClassName('Model\\ArticleModel', 'site')
     (/www/htdocs/w00c9180/joomla5/libraries/src/MVC/Factory/MVCFactory.php:156)
  at Joomla\CMS\MVC\Factory\MVCFactory->createModel('article', 'site', array())
     (/www/htdocs/w00c9180/joomla5/libraries/src/MVC/Controller/BaseController.php:574)
  at Joomla\CMS\MVC\Controller\BaseController->createModel('article', 'site', array())
     (/www/htdocs/w00c9180/joomla5/libraries/src/MVC/Controller/BaseController.php:761)
  at Joomla\CMS\MVC\Controller\BaseController->getModel('article')
     (/www/htdocs/w00c9180/joomla5/components/com_content/src/Controller/DisplayController.php:115)
  at Joomla\Component\Content\Site\Controller\DisplayController->display()
     (/www/htdocs/w00c9180/joomla5/libraries/src/MVC/Controller/BaseController.php:730)
  at Joomla\CMS\MVC\Controller\BaseController->execute('display')
     (/www/htdocs/w00c9180/joomla5/libraries/src/Dispatcher/ComponentDispatcher.php:143)
  at Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
     (/www/htdocs/w00c9180/joomla5/components/com_content/src/Dispatcher/Dispatcher.php:56)
  at Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch()
     (/www/htdocs/w00c9180/joomla5/libraries/src/Component/ComponentHelper.php:361)
  at Joomla\CMS\Component\ComponentHelper::renderComponent('com_content')
     (/www/htdocs/w00c9180/joomla5/libraries/src/Application/SiteApplication.php:217)
  at Joomla\CMS\Application\SiteApplication->dispatch()
     (/www/htdocs/w00c9180/joomla5/libraries/src/Application/SiteApplication.php:271)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/www/htdocs/w00c9180/joomla5/libraries/src/Application/CMSApplication.php:304)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/www/htdocs/w00c9180/joomla5/includes/app.php:58)
  at require_once('/www/htdocs/w00c9180/joomla5/includes/app.php')
     (/www/htdocs/w00c9180/joomla5/index.php:32)