Warning: include(/home/samdyer/public_html/libraries/vendor/psr/container/src/ContainerInterface.php): Failed to open stream: No such file or directory in /home/samdyer/public_html/libraries/vendor/composer/ClassLoader.php on line 576

Warning: include(): Failed opening '/home/samdyer/public_html/libraries/vendor/composer/../psr/container/src/ContainerInterface.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/samdyer/public_html/libraries/vendor/composer/ClassLoader.php on line 576
Attempted to load interface "ContainerInterface" from namespace "Psr\Container". 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 "ContainerInterface" from namespace "Psr\Container".
Did you forget a "use" statement for another namespace?

Exception

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1. /**
  2. * The Container class.
  3. *
  4. * @since 1.0
  5. */
  6. class Container implements ContainerInterface
  7. {
  8. /**
  9. * Holds the key aliases.
  10. *
  11. * Format:
ClassLoader->loadClass('Joomla\\DI\\Container') in /home/samdyer/public_html/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. }
ClassLoader->loadClass('Joomla\\DI\\Container') in /home/samdyer/public_html/libraries/src/Factory.php (line 605)
  1. *
  2. * @since 4.0.0
  3. */
  4. protected static function createContainer(): Container
  5. {
  6. $container = (new Container())
  7. ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Application())
  8. ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Authentication())
  9. ->registerServiceProvider(new \Joomla\CMS\Service\Provider\CacheController())
  10. ->registerServiceProvider(new \Joomla\CMS\Service\Provider\CaptchaRegistry())
  11. ->registerServiceProvider(new \Joomla\CMS\Service\Provider\Config())
Factory::createContainer() in /home/samdyer/public_html/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 /home/samdyer/public_html/includes/app.php (line 35)
require_once('/home/samdyer/public_html/includes/app.php') in /home/samdyer/public_html/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 Trace

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

  at /home/samdyer/public_html/libraries/vendor/joomla/di/src/Container.php:22
  at include()
     (/home/samdyer/public_html/libraries/vendor/composer/ClassLoader.php:576)
  at Composer\Autoload\{closure}('/home/samdyer/public_html/libraries/vendor/composer/../joomla/di/src/Container.php')
     (/home/samdyer/public_html/libraries/vendor/composer/ClassLoader.php:427)
  at Composer\Autoload\ClassLoader->loadClass('Joomla\\DI\\Container')
     (/home/samdyer/public_html/libraries/src/Autoload/ClassLoader.php:59)
  at Joomla\CMS\Autoload\ClassLoader->loadClass('Joomla\\DI\\Container')
     (/home/samdyer/public_html/libraries/src/Factory.php:605)
  at Joomla\CMS\Factory::createContainer()
     (/home/samdyer/public_html/libraries/src/Factory.php:241)
  at Joomla\CMS\Factory::getContainer()
     (/home/samdyer/public_html/includes/app.php:35)
  at require_once('/home/samdyer/public_html/includes/app.php')
     (/home/samdyer/public_html/index.php:51)