0w pwwHw@www@wh_wГwwwwpw wحw(w.wwTwxw@ww`www5wDw(SwWwGww(w0w pwwHw@www@wh_wГwwwwpw wحw(w.wwTwxw@ww`www5wDw(SwWwGww(w Attempted to load class "CachingLanguageFactory" from namespace "Joomla\CMS\Language". 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 "CachingLanguageFactory" from namespace "Joomla\CMS\Language".
Did you forget a "use" statement for another namespace?

Exceptions 2

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1.         $container->alias('language.factory'LanguageFactoryInterface::class)
  2.             ->alias(CachingLanguageFactory::class, LanguageFactoryInterface::class)
  3.             ->share(
  4.                 LanguageFactoryInterface::class,
  5.                 function (Container $container) {
  6.                     return new CachingLanguageFactory();
  7.                 },
  8.                 true
  9.             );
  10.     }
  11. }
  1.     {
  2.         $callable $this->factory;
  3.         if ($this->isShared()) {
  4.             if ($this->instance === null) {
  5.                 $this->instance $callable($this->container);
  6.             }
  7.             return $this->instance;
  8.         }
  1.             }
  2.             throw new KeyNotFoundException(sprintf("Resource '%s' has not been registered with the container."$resourceName));
  3.         }
  4.         return $this->resources[$key]->getInstance();
  5.     }
  6.     /**
  7.      * Check if specified resource exists.
  8.      *
Container->get('Joomla\\CMS\\Language\\LanguageFactoryInterface') in /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Factory.php (line 745)
  1.         );
  2.         $conf   self::getConfig();
  3.         $locale $conf->get('language');
  4.         $debug  $conf->get('debug_lang');
  5.         $lang   self::getContainer()->get(LanguageFactoryInterface::class)->createLanguage($locale$debug);
  6.         return $lang;
  7.     }
  8.     /**
  1.             ),
  2.             E_USER_DEPRECATED
  3.         );
  4.         if (!self::$language) {
  5.             self::$language self::createLanguage();
  6.         }
  7.         return self::$language;
  8.     }
  1.      */
  2.     public function __construct($options = [])
  3.     {
  4.         // Extract the internal dependencies before calling the parent constructor since it calls $this->load()
  5.         $this->app      = isset($options['app']) && $options['app'] instanceof CMSApplication $options['app'] : Factory::getApplication();
  6.         $this->language = isset($options['language']) && $options['language'] instanceof Language $options['language'] : Factory::getLanguage();
  7.         if (!isset($options['db']) || !($options['db'] instanceof DatabaseDriver)) {
  8.             @trigger_error(\sprintf('Database will be mandatory in 5.0.'), E_USER_DEPRECATED);
  9.             $options['db'] = Factory::getContainer()->get(DatabaseDriver::class);
  10.         }
SiteMenu->__construct(array('app' => object(SiteApplication), 'db' => object(MysqliDriver))) in /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Menu/MenuFactory.php (line 55)
  1.         if (!\array_key_exists('db'$options)) {
  2.             $options['db'] = $this->getDatabase();
  3.         }
  4.         $instance = new $classname($options);
  5.         if ($instance instanceof CacheControllerFactoryAwareInterface) {
  6.             $instance->setCacheControllerFactory($this->getCacheControllerFactory());
  7.         }
MenuFactory->createMenu('site', array('app' => object(SiteApplication), 'db' => object(MysqliDriver))) in /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/CMSApplication.php (line 592)
  1.         if ($this->menuFactory === null) {
  2.             @trigger_error('Menu factory must be set in 5.0'E_USER_DEPRECATED);
  3.             $this->menuFactory $this->getContainer()->get(MenuFactoryInterface::class);
  4.         }
  5.         $this->menus[$name] = $this->menuFactory->createMenu($name$options);
  6.         // Make sure the abstract menu has the instance too, is needed for BC and will be removed with version 5
  7.         AbstractMenu::$instances[$name] = $this->menus[$name];
  8.         return $this->menus[$name];
  1.             return $this->template->template;
  2.         }
  3.         // Get the id of the active menu item
  4.         $menu $this->getMenu();
  5.         $item $menu->getActive();
  6.         if (!$item) {
  7.             $item $menu->getItem($this->input->getInt('Itemid'null));
  8.         }
  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',
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php') in /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/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

Class "Joomla\CMS\Language\CachingLanguageFactory" not found

  1.         $container->alias('language.factory'LanguageFactoryInterface::class)
  2.             ->alias(CachingLanguageFactory::class, LanguageFactoryInterface::class)
  3.             ->share(
  4.                 LanguageFactoryInterface::class,
  5.                 function (Container $container) {
  6.                     return new CachingLanguageFactory();
  7.                 },
  8.                 true
  9.             );
  10.     }
  11. }
  1.     {
  2.         $callable $this->factory;
  3.         if ($this->isShared()) {
  4.             if ($this->instance === null) {
  5.                 $this->instance $callable($this->container);
  6.             }
  7.             return $this->instance;
  8.         }
  1.             }
  2.             throw new KeyNotFoundException(sprintf("Resource '%s' has not been registered with the container."$resourceName));
  3.         }
  4.         return $this->resources[$key]->getInstance();
  5.     }
  6.     /**
  7.      * Check if specified resource exists.
  8.      *
Container->get('Joomla\\CMS\\Language\\LanguageFactoryInterface') in /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/CMSApplication.php (line 785)
  1.         if (isset($options['language'])) {
  2.             $this->set('language'$options['language']);
  3.         }
  4.         // Build our language object
  5.         $lang $this->getContainer()->get(LanguageFactoryInterface::class)->createLanguage($this->get('language'), $this->get('debug_lang'));
  6.         // Load the language to the API
  7.         $this->loadLanguage($lang);
  8.         // Register the language object with Factory
CMSApplication->initialiseApp(array('language' => 'fr-FR')) in /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/SiteApplication.php (line 655)
  1.                 $options['language'] = 'en-GB';
  2.             }
  3.         }
  4.         // Finish initialisation
  5.         parent::initialiseApp($options);
  6.     }
  7.     /**
  8.      * Load the library language files for the application
  9.      *
  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();
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php') in /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/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] ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "CachingLanguageFactory" from namespace "Joomla\CMS\Language".
Did you forget a "use" statement for another namespace?

  at /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Service/Provider/Language.php:44
  at Joomla\CMS\Service\Provider\Language->Joomla\CMS\Service\Provider\{closure}(object(Container))
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/ContainerResource.php:166)
  at Joomla\DI\ContainerResource->getInstance()
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/Container.php:95)
  at Joomla\DI\Container->get('Joomla\\CMS\\Language\\LanguageFactoryInterface')
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Factory.php:745)
  at Joomla\CMS\Factory::createLanguage()
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Factory.php:305)
  at Joomla\CMS\Factory::getLanguage()
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Menu/SiteMenu.php:72)
  at Joomla\CMS\Menu\SiteMenu->__construct(array('app' => object(SiteApplication), 'db' => object(MysqliDriver)))
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Menu/MenuFactory.php:55)
  at Joomla\CMS\Menu\MenuFactory->createMenu('site', array('app' => object(SiteApplication), 'db' => object(MysqliDriver)))
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/CMSApplication.php:592)
  at Joomla\CMS\Application\CMSApplication->getMenu()
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/SiteApplication.php:442)
  at Joomla\CMS\Application\SiteApplication->getTemplate(true)
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Error/Renderer/HtmlRenderer.php:50)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(Error))
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Exception/ExceptionHandler.php:136)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(Error))
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Exception/ExceptionHandler.php:73)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Error))
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/CMSApplication.php:336)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php:58)
  at require_once('/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php')
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/index.php:32)                
[1/2] Error
Error:
Class "Joomla\CMS\Language\CachingLanguageFactory" not found

  at /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Service/Provider/Language.php:44
  at Joomla\CMS\Service\Provider\Language->Joomla\CMS\Service\Provider\{closure}(object(Container))
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/ContainerResource.php:166)
  at Joomla\DI\ContainerResource->getInstance()
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/Container.php:95)
  at Joomla\DI\Container->get('Joomla\\CMS\\Language\\LanguageFactoryInterface')
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/CMSApplication.php:785)
  at Joomla\CMS\Application\CMSApplication->initialiseApp(array('language' => 'fr-FR'))
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/SiteApplication.php:655)
  at Joomla\CMS\Application\SiteApplication->initialiseApp()
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/SiteApplication.php:238)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Application/CMSApplication.php:306)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php:58)
  at require_once('/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php')
     (/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/index.php:32)