Warning: include(/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/vendor/composer/../../../libraries/src/Language/LanguageHelper.php): Failed to open stream: No such file or directory in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/vendor/composer/ClassLoader.php on line 576 Warning: include(): Failed opening '/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/vendor/composer/../../../libraries/src/Language/LanguageHelper.php' for inclusion (include_path='.:/opt/RZphp84/includes') in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/vendor/composer/ClassLoader.php on line 576 Warning: Class "Joomla\CMS\Language\LanguageHelper" not found in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/loader.php on line 576 Warning: file_put_contents(/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/administrator/logs/everything.php): Failed to open stream: Permission denied in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/vendor/joomla/filesystem/src/File.php on line 292 Warning: file_put_contents(/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/administrator/logs/everything.php): Failed to open stream: Permission denied in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/vendor/joomla/filesystem/src/File.php on line 290 Warning: include(/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/vendor/composer/../../../libraries/src/Language/LanguageHelper.php): Failed to open stream: No such file or directory in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/vendor/composer/ClassLoader.php on line 576 Warning: include(): Failed opening '/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/vendor/composer/../../../libraries/src/Language/LanguageHelper.php' for inclusion (include_path='.:/opt/RZphp84/includes') in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/vendor/composer/ClassLoader.php on line 576 Warning: Class "Joomla\CMS\Language\LanguageHelper" not found in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/loader.php on line 576 Attempted to load class "LanguageHelper" 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 "LanguageHelper" from namespace "Joomla\CMS\Language".
Did you forget a "use" statement for another namespace?

Exceptions 2

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1. if ($lang == null) {
  2. $lang = $this->default;
  3. }
  4. $this->lang = $lang;
  5. $this->metadata = LanguageHelper::getMetadata($this->lang);
  6. $this->setDebug($debug);
  7. /*
  8. * Let's load the default override once, so we can profit from that, too
  9. * But make sure, that we don't enforce it on each language file load.
  1. *
  2. * @since 4.0.0
  3. */
  4. public function createLanguage($lang, $debug = false): Language
  5. {
  6. return new Language($lang, $debug);
  7. }
  8. }
  1. * @since 4.0.0
  2. */
  3. public function createLanguage($lang, $debug = false): Language
  4. {
  5. if (!isset(self::$languages[$lang . $debug])) {
  6. self::$languages[$lang . $debug] = parent::createLanguage($lang, $debug);
  7. }
  8. return self::$languages[$lang . $debug];
  9. }
  10. }
CachingLanguageFactory->createLanguage() in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/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. public static function getDate($time = 'now', $tzOffset = null)
  2. {
  3. static $classname;
  4. static $mainLocale;
  5. $language = self::getLanguage();
  6. $locale = $language->getTag();
  7. if (!isset($classname) || $locale != $mainLocale) {
  8. // Store the locale for future reference
  9. $mainLocale = $locale;
  1. * @since 1.5
  2. */
  3. public function load()
  4. {
  5. $loader = function () {
  6. $currentDate = Factory::getDate()->toSql();
  7. $query = $this->db->createQuery()
  8. ->select(
  9. $this->db->quoteName(
  10. [
SiteMenu->{closure:Joomla\CMS\Menu\SiteMenu::load():93}() in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Cache/Controller/CallbackController.php (line 51)
  1. $referenceArgs = &$args;
  2. }
  3. // Just execute the callback if caching is disabled.
  4. if (empty($this->options['caching'])) {
  5. return \call_user_func_array($callback, $referenceArgs);
  6. }
  7. if (!$id) {
  8. // Generate an ID
  9. $id = $this->_makeId($callback, $args);
  1. try {
  2. /** @var CallbackController $cache */
  3. $cache = $this->getCacheControllerFactory()->createCacheController('callback', ['defaultgroup' => 'com_menus']);
  4. $this->items = $cache->get($loader, [], md5(\get_class($this)), false);
  5. } catch (CacheExceptionInterface) {
  6. try {
  7. $this->items = $loader();
  8. } catch (ExecutionFailureException $databaseException) {
  9. $this->app->enqueueMessage(Text::sprintf('JERROR_LOADING_MENUS', $databaseException->getMessage()), 'warning');
  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. {
  2. $menu = $this->getMenu();
  3. $item = $menu->getActive();
  4. if (!$item) {
  5. $item = $menu->getItem($this->input->getInt('Itemid', 0));
  6. }
  7. $id = 0;
  8. if ($item) {
  1. *
  2. * @throws \InvalidArgumentException
  3. */
  4. protected function initialiseTemplate(): void
  5. {
  6. $id = $this->getTemplateStyleId();
  7. $templates = $this->getTemplates();
  8. $template = $templates[$id] ?? $templates[0];
  1. * @since 3.2
  2. */
  3. public function getTemplate($params = false)
  4. {
  5. if (!\is_object($this->template)) {
  6. $this->initialiseTemplate();
  7. }
  8. if (!$this->isValidTemplate($this->template)) {
  9. throw new \InvalidArgumentException(
  10. Text::sprintf('JERROR_COULD_NOT_FIND_TEMPLATE', $this->template->template)
  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('/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/includes/app.php') in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/index.php (line 51)
  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\Language\LanguageHelper" not found

  1. if (empty($options['language'])) {
  2. $options['language'] = $this->detectLanguage($user);
  3. }
  4. // One last check to make sure we have something
  5. if (!LanguageHelper::exists($options['language'])) {
  6. $lang = $this->config->get('language', 'en-GB');
  7. if (LanguageHelper::exists($lang)) {
  8. $options['language'] = $lang;
  9. } else {
  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. // Mark beforeExecute in the profiler.
  2. JDEBUG ? $this->profiler->mark('beforeExecute event dispatched') : null;
  3. // Perform application routines.
  4. $this->doExecute();
  5. // If we have an application document object, render it.
  6. if ($this->document instanceof \Joomla\CMS\Document\Document) {
  7. // Render the application output.
  8. $this->render();
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/includes/app.php') in /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/index.php (line 51)
  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 "LanguageHelper" from namespace "Joomla\CMS\Language".
Did you forget a "use" statement for another namespace?

  at /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Language/Language.php:116
  at Joomla\CMS\Language\Language->__construct()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Language/LanguageFactory.php:35)
  at Joomla\CMS\Language\LanguageFactory->createLanguage()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Language/CachingLanguageFactory.php:45)
  at Joomla\CMS\Language\CachingLanguageFactory->createLanguage()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Factory.php:745)
  at Joomla\CMS\Factory::createLanguage()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Factory.php:305)
  at Joomla\CMS\Factory::getLanguage()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Factory.php:514)
  at Joomla\CMS\Factory::getDate()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Menu/SiteMenu.php:94)
  at Joomla\CMS\Menu\SiteMenu->{closure:Joomla\CMS\Menu\SiteMenu::load():93}()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Cache/Controller/CallbackController.php:51)
  at Joomla\CMS\Cache\Controller\CallbackController->get()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Menu/SiteMenu.php:179)
  at Joomla\CMS\Menu\SiteMenu->load()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Menu/AbstractMenu.php:333)
  at Joomla\CMS\Menu\AbstractMenu->getMenu()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Menu/AbstractMenu.php:164)
  at Joomla\CMS\Menu\AbstractMenu->getItem()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Application/SiteApplication.php:808)
  at Joomla\CMS\Application\SiteApplication->getTemplateStyleId()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Application/SiteApplication.php:756)
  at Joomla\CMS\Application\SiteApplication->initialiseTemplate()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Application/CMSApplication.php:721)
  at Joomla\CMS\Application\CMSApplication->getTemplate()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Error/Renderer/HtmlRenderer.php:50)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Exception/ExceptionHandler.php:142)
  at Joomla\CMS\Exception\ExceptionHandler::render()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Exception/ExceptionHandler.php:76)
  at Joomla\CMS\Exception\ExceptionHandler::handleException()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Application/CMSApplication.php:350)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/includes/app.php:58)
  at require_once('/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/includes/app.php')
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/index.php:51)                
[1/2] Error
Error:
Class "Joomla\CMS\Language\LanguageHelper" not found

  at /mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Application/SiteApplication.php:419
  at Joomla\CMS\Application\SiteApplication->initialiseApp()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Application/SiteApplication.php:238)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/libraries/src/Application/CMSApplication.php:320)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/includes/app.php:58)
  at require_once('/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/includes/app.php')
     (/mnt/web121/e3/03/52249903/htdocs/SSJ-J5/index.php:51)