E_USER_DEPRECATED ); return new MD5Handler(); }, true ); $container->alias('password.handler.phpass', PHPassHandler::class) ->share( PHPassHandler::class, function (Container $container) { @trigger_error( sprintf( 'The "%1$s" class service is deprecated, use the "%2$s" service for the active password handler instead.', PHPassHandler::class, 'password.handler.default' ), E_USER_DEPRECATED ); return new PHPassHandler(); }, true ); } } Attempted to load class "Authentication" from namespace "Joomla\CMS\Service\Provider". Did you forget a "use" statement for another namespace? (500 Whoops, looks like something went wrong.)

ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load class "Authentication" from namespace "Joomla\CMS\Service\Provider".
Did you forget a "use" statement for another namespace?

Exception

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1.      */
  2.     protected static function createContainer(): Container
  3.     {
  4.         $container = (new Container())
  5.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Application())
  6.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Authentication())
  7.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\CacheController())
  8.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Config())
  9.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Console())
  10.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Database())
  11.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Dispatcher())
Factory::createContainer() in /hp/ax/aa/ed/www/ollsen2014/libraries/src/Factory.php (line 241)
  1.      * @since   4.0.0
  2.      */
  3.     public static function getContainer(): Container
  4.     {
  5.         if (!self::$container) {
  6.             self::$container self::createContainer();
  7.         }
  8.         return self::$container;
  9.     }
Factory::getContainer() in /hp/ax/aa/ed/www/ollsen2014/includes/app.php (line 38)
  1. // Set profiler start time and memory usage and mark afterLoad in the profiler.
  2. JDEBUG && \Joomla\CMS\Profiler\Profiler::getInstance('Application')->setStart($startTime$startMem)->mark('afterLoad');
  3. // Boot the DI container
  4. $container \Joomla\CMS\Factory::getContainer();
  5. /*
  6.  * Alias the session service keys to the web session service as that is the primary session backend for this application
  7.  *
  8.  * In addition to aliasing "common" service keys, we also create aliases for the PHP classes to ensure autowiring objects
require_once('/hp/ax/aa/ed/www/ollsen2014/includes/app.php') in /hp/ax/aa/ed/www/ollsen2014/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 Trace

ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "Authentication" from namespace "Joomla\CMS\Service\Provider".
Did you forget a "use" statement for another namespace?

  at /hp/ax/aa/ed/www/ollsen2014/libraries/src/Factory.php:607
  at Joomla\CMS\Factory::createContainer()
     (/hp/ax/aa/ed/www/ollsen2014/libraries/src/Factory.php:241)
  at Joomla\CMS\Factory::getContainer()
     (/hp/ax/aa/ed/www/ollsen2014/includes/app.php:38)
  at require_once('/hp/ax/aa/ed/www/ollsen2014/includes/app.php')
     (/hp/ax/aa/ed/www/ollsen2014/index.php:32)