ٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ local_value22 global_valueٝ Attempted to load interface "DispatcherInterface" from namespace "Joomla\Event". 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 interface "DispatcherInterface" from namespace "Joomla\Event".
Did you forget a "use" statement for another namespace?

Exception

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1. /**
  2.  * Implementation of a DispatcherInterface supporting prioritized listeners.
  3.  *
  4.  * @since  1.0
  5.  */
  6. class Dispatcher implements DispatcherInterface
  7. {
  8.     /**
  9.      * An array of registered events indexed by the event names.
  10.      *
  11.      * @var    EventInterface[]
  1.  * @return void
  2.  * @private
  3.  */
  4. function includeFile($file)
  5. {
  6.     include $file;
  7. }
  1.      * @return true|null True if loaded, null otherwise
  2.      */
  3.     public function loadClass($class)
  4.     {
  5.         if ($file $this->findFile($class)) {
  6.             includeFile($file);
  7.             return true;
  8.         }
  9.         return null;
ClassLoader->loadClass('Joomla\\Event\\Dispatcher') in /datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/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.     }
  1.         $container->alias('dispatcher'EventDispatcherInterface::class)
  2.             ->alias(EventDispatcher::class, EventDispatcherInterface::class)
  3.             ->share(
  4.                 EventDispatcherInterface::class,
  5.                 function (Container $container) {
  6.                     return new EventDispatcher();
  7.                 },
  8.                 true
  9.             );
  10.     }
  11. }
  1.         if ($this->isShared())
  2.         {
  3.             if ($this->instance === null)
  4.             {
  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\\Event\\DispatcherInterface') in /datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/src/Service/Provider/Session.php (line 285)
  1.             );
  2.         $listener = new LazyServiceEventListener($container'session.event_listener.metadata_manager''onAfterSessionStart');
  3.         /** @var DispatcherInterface $dispatcher */
  4.         $dispatcher $container->get(DispatcherInterface::class);
  5.         $dispatcher->addListener(SessionEvents::START$listener);
  6.     }
  7.     /**
  8.      * Build the root session service
  1.      *
  2.      * @since   1.0
  3.      */
  4.     public function registerServiceProvider(ServiceProviderInterface $provider)
  5.     {
  6.         $provider->register($this);
  7.         return $this;
  8.     }
  9.     /**
Container->registerServiceProvider(object(Session)) in /datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/src/Factory.php (line 621)
  1.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Language())
  2.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Mailer())
  3.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Menu())
  4.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Pathway())
  5.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\HTMLRegistry())
  6.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Session())
  7.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Toolbar())
  8.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\WebAssetRegistry())
  9.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Router())
  10.             ->registerServiceProvider(new \Joomla\CMS\Service\Provider\User());
  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.     }
  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('/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/includes/app.php') in /datas/yulpa173848/sites/2024.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 Trace

ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load interface "DispatcherInterface" from namespace "Joomla\Event".
Did you forget a "use" statement for another namespace?

  at /datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:16
  at include()
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/vendor/composer/ClassLoader.php:571)
  at Composer\Autoload\includeFile('/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/vendor/composer/../joomla/event/src/Dispatcher.php')
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/vendor/composer/ClassLoader.php:428)
  at Composer\Autoload\ClassLoader->loadClass('Joomla\\Event\\Dispatcher')
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/src/Autoload/ClassLoader.php:59)
  at Joomla\CMS\Autoload\ClassLoader->loadClass('Joomla\\Event\\Dispatcher')
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/src/Service/Provider/Dispatcher.php:44)
  at Joomla\CMS\Service\Provider\Dispatcher->Joomla\CMS\Service\Provider\{closure}(object(Container))
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/ContainerResource.php:176)
  at Joomla\DI\ContainerResource->getInstance()
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/Container.php:96)
  at Joomla\DI\Container->get('Joomla\\Event\\DispatcherInterface')
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/src/Service/Provider/Session.php:285)
  at Joomla\CMS\Service\Provider\Session->register(object(Container))
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/Container.php:766)
  at Joomla\DI\Container->registerServiceProvider(object(Session))
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/src/Factory.php:621)
  at Joomla\CMS\Factory::createContainer()
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/libraries/src/Factory.php:241)
  at Joomla\CMS\Factory::getContainer()
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/includes/app.php:38)
  at require_once('/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/includes/app.php')
     (/datas/yulpa173848/sites/2024.samclap-ufolep.fr/htdocs/index.php:32)