Warning: include(/homepages/17/d226403952/htdocs/Joomla/libraries/vendor/composer/../../../libraries/src/Cache/Cache.php): Failed to open stream: No such file or directory in /homepages/17/d226403952/htdocs/Joomla/libraries/vendor/composer/ClassLoader.php on line 576

Warning: include(): Failed opening '/homepages/17/d226403952/htdocs/Joomla/libraries/vendor/composer/../../../libraries/src/Cache/Cache.php' for inclusion (include_path='.:/usr/lib/php8.3') in /homepages/17/d226403952/htdocs/Joomla/libraries/vendor/composer/ClassLoader.php on line 576

Warning: include(/homepages/17/d226403952/htdocs/Joomla/libraries/vendor/composer/../../../libraries/src/Cache/Cache.php): Failed to open stream: No such file or directory in /homepages/17/d226403952/htdocs/Joomla/libraries/vendor/composer/ClassLoader.php on line 576

Warning: include(): Failed opening '/homepages/17/d226403952/htdocs/Joomla/libraries/vendor/composer/../../../libraries/src/Cache/Cache.php' for inclusion (include_path='.:/usr/lib/php8.3') in /homepages/17/d226403952/htdocs/Joomla/libraries/vendor/composer/ClassLoader.php on line 576
Attempted to load class "Cache" from namespace "Joomla\CMS\Cache". 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 "Cache" from namespace "Joomla\CMS\Cache".
Did you forget a "use" statement for another namespace?

Exceptions 2

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1. *
  2. * @since 1.7.0
  3. */
  4. public function __construct($options)
  5. {
  6. $this->cache = new Cache($options);
  7. $this->options = &$this->cache->_options;
  8. // Overwrite default options with given options
  9. foreach ($options as $option => $value) {
  10. if ($value !== null) {
  1. // The class should now be loaded
  2. if (!class_exists($class)) {
  3. throw new \RuntimeException('Unable to load Cache Controller: ' . $type, 500);
  4. }
  5. return new $class($options);
  6. }
  7. }
CacheControllerFactory->createCacheController() in /homepages/17/d226403952/htdocs/Joomla/libraries/src/Menu/SiteMenu.php (line 177)
  1. return $items;
  2. };
  3. try {
  4. /** @var CallbackController $cache */
  5. $cache = $this->getCacheControllerFactory()->createCacheController('callback', ['defaultgroup' => 'com_menus']);
  6. $this->items = $cache->get($loader, [], md5(\get_class($this)), false);
  7. } catch (CacheExceptionInterface) {
  8. try {
  9. $this->items = $loader();
  1. * @since 1.5
  2. */
  3. public function getMenu()
  4. {
  5. if (!$this->itemsLoaded) {
  6. $this->load();
  7. foreach ($this->items as $item) {
  8. if ($item->home) {
  9. $this->default[trim($item->language)] = $item->id;
  10. }
  1. */
  2. public function getItem($id)
  3. {
  4. $result = null;
  5. if (isset($this->getMenu()[$id])) {
  6. $result = &$this->getMenu()[$id];
  7. }
  8. return $result;
  9. }
  1. // Get the id of the active menu item
  2. $menu = $this->getMenu();
  3. $item = $menu->getActive();
  4. if (!$item) {
  5. $item = $menu->getItem($this->input->getInt('Itemid', null));
  6. }
  7. $id = 0;
  8. if (\is_object($item)) {
  1. public function render(\Throwable $error): string
  2. {
  3. $app = Factory::getApplication();
  4. // Get the current template from the application
  5. $template = $app->getTemplate(true);
  6. // Push the error object into the document
  7. $this->getDocument()->setError($error);
  8. // Add registry file for the template asset
  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. *
  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 /homepages/17/d226403952/htdocs/Joomla/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('/homepages/17/d226403952/htdocs/Joomla/includes/app.php') in /homepages/17/d226403952/htdocs/Joomla/index.php (line 54)
  1. // ... die
  2. die();
  3. }
  4. // Run the application - All executable code should be triggered through this file
  5. require_once __DIR__ . '/includes/app.php';

Error

Class "Joomla\CMS\Cache\Cache" not found

  1. *
  2. * @since 1.7.0
  3. */
  4. public function __construct($options)
  5. {
  6. $this->cache = new Cache($options);
  7. $this->options = &$this->cache->_options;
  8. // Overwrite default options with given options
  9. foreach ($options as $option => $value) {
  10. if ($value !== null) {
  1. // The class should now be loaded
  2. if (!class_exists($class)) {
  3. throw new \RuntimeException('Unable to load Cache Controller: ' . $type, 500);
  4. }
  5. return new $class($options);
  6. }
  7. }
CacheControllerFactory->createCacheController() in /homepages/17/d226403952/htdocs/Joomla/libraries/src/Component/ComponentHelper.php (line 407)
  1. return $components;
  2. };
  3. /** @var CallbackController $cache */
  4. $cache = Factory::getContainer()->get(CacheControllerFactoryInterface::class)->createCacheController('callback', ['defaultgroup' => '_system']);
  5. try {
  6. static::$components = $cache->get($loader, [], __METHOD__);
  7. } catch (CacheExceptionInterface) {
  8. static::$components = $loader();
  1. * @since 3.6.3
  2. */
  3. public static function getComponents()
  4. {
  5. if (empty(static::$components)) {
  6. static::load();
  7. }
  8. return static::$components;
  9. }
  1. *
  2. * @since 1.5
  3. */
  4. public static function getComponent($option, $strict = false)
  5. {
  6. $components = static::getComponents();
  7. if (isset($components[$option])) {
  8. return $components[$option];
  9. }
  1. * @see Registry
  2. * @since 1.5
  3. */
  4. public static function getParams($option, $strict = false)
  5. {
  6. return static::getComponent($option, $strict)->getParams();
  7. }
  8. /**
  9. * Applies the global text filters to arbitrary text as per settings for current user groups
  10. *
  1. {
  2. $user = Factory::getUser();
  3. // If the user is a guest we populate it with the guest user group.
  4. if ($user->guest) {
  5. $guestUsergroup = ComponentHelper::getParams('com_users')->get('guest_usergroup', 1);
  6. $user->groups = [$guestUsergroup];
  7. }
  8. if ($plugin = PluginHelper::getPlugin('system', 'languagefilter')) {
  9. $pluginParams = new Registry($plugin->params);
  1. * @since 3.2
  2. */
  3. protected function doExecute()
  4. {
  5. // Initialise the application
  6. $this->initialiseApp();
  7. // Mark afterInitialise in the profiler.
  8. JDEBUG ? $this->profiler->mark('afterInitialise') : null;
  9. // Route the application
  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 /homepages/17/d226403952/htdocs/Joomla/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('/homepages/17/d226403952/htdocs/Joomla/includes/app.php') in /homepages/17/d226403952/htdocs/Joomla/index.php (line 54)
  1. // ... die
  2. die();
  3. }
  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 "Cache" from namespace "Joomla\CMS\Cache".
Did you forget a "use" statement for another namespace?

  at /homepages/17/d226403952/htdocs/Joomla/libraries/src/Cache/CacheController.php:53
  at Joomla\CMS\Cache\CacheController->__construct()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Cache/CacheControllerFactory.php:49)
  at Joomla\CMS\Cache\CacheControllerFactory->createCacheController()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Menu/SiteMenu.php:177)
  at Joomla\CMS\Menu\SiteMenu->load()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Menu/AbstractMenu.php:333)
  at Joomla\CMS\Menu\AbstractMenu->getMenu()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Menu/AbstractMenu.php:164)
  at Joomla\CMS\Menu\AbstractMenu->getItem()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Application/SiteApplication.php:429)
  at Joomla\CMS\Application\SiteApplication->getTemplate()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Error/Renderer/HtmlRenderer.php:50)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Exception/ExceptionHandler.php:142)
  at Joomla\CMS\Exception\ExceptionHandler::render()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Exception/ExceptionHandler.php:76)
  at Joomla\CMS\Exception\ExceptionHandler::handleException()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Application/CMSApplication.php:334)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/homepages/17/d226403952/htdocs/Joomla/includes/app.php:58)
  at require_once('/homepages/17/d226403952/htdocs/Joomla/includes/app.php')
     (/homepages/17/d226403952/htdocs/Joomla/index.php:54)                
[1/2] Error
Error:
Class "Joomla\CMS\Cache\Cache" not found

  at /homepages/17/d226403952/htdocs/Joomla/libraries/src/Cache/CacheController.php:53
  at Joomla\CMS\Cache\CacheController->__construct()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Cache/CacheControllerFactory.php:49)
  at Joomla\CMS\Cache\CacheControllerFactory->createCacheController()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Component/ComponentHelper.php:407)
  at Joomla\CMS\Component\ComponentHelper::load()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Component/ComponentHelper.php:428)
  at Joomla\CMS\Component\ComponentHelper::getComponents()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Component/ComponentHelper.php:56)
  at Joomla\CMS\Component\ComponentHelper::getComponent()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Component/ComponentHelper.php:114)
  at Joomla\CMS\Component\ComponentHelper::getParams()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Application/SiteApplication.php:569)
  at Joomla\CMS\Application\SiteApplication->initialiseApp()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Application/SiteApplication.php:237)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/homepages/17/d226403952/htdocs/Joomla/libraries/src/Application/CMSApplication.php:304)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/homepages/17/d226403952/htdocs/Joomla/includes/app.php:58)
  at require_once('/homepages/17/d226403952/htdocs/Joomla/includes/app.php')
     (/homepages/17/d226403952/htdocs/Joomla/index.php:54)