Warning: include(/home/samdyer/public_html/libraries/vendor/composer/../psr/log/src/AbstractLogger.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/log/src/AbstractLogger.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 class "AbstractLogger" from namespace "Psr\Log". 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 "AbstractLogger" from namespace "Psr\Log".
Did you forget a "use" statement for another namespace?

Exception

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1. * Delegating logger which delegates log messages received from the PSR-3 interface to the Joomla! Log object.
  2. *
  3. * @since 3.8.0
  4. * @internal
  5. */
  6. final class DelegatingPsrLogger extends AbstractLogger
  7. {
  8. /**
  9. * The Log instance to delegate messages to.
  10. *
  11. * @var Log
ClassLoader->loadClass('Joomla\\CMS\\Log\\DelegatingPsrLogger') 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\\CMS\\Log\\DelegatingPsrLogger') in /home/samdyer/public_html/libraries/src/Log/Log.php (line 290)
  1. // Ensure a singleton instance has been created first
  2. if (empty(static::$instance)) {
  3. static::setInstance(new static());
  4. }
  5. return new DelegatingPsrLogger(static::$instance);
  6. }
  7. /**
  8. * Returns a reference to the a Log object, only creating it if it doesn't already exist.
  9. * Note: This is principally made available for testing and internal purposes.
  1. {
  2. $container->alias('logger', LoggerInterface::class)
  3. ->share(
  4. LoggerInterface::class,
  5. function (Container $container) {
  6. return Log::createDelegatedLogger();
  7. },
  8. true
  9. );
  10. }
  11. }
in /home/samdyer/public_html/libraries/vendor/joomla/di/src/ContainerResource.php -> Joomla\CMS\Service\Provider\{closure} (line 162)
Container->get('Psr\\Log\\LoggerInterface') in /home/samdyer/public_html/libraries/src/Service/Provider/Application.php (line 103)
  1. ->share(
  2. 'JApplicationSite',
  3. function (Container $container) {
  4. $app = new SiteApplication($container->get(CMSInput::class), $container->get('config'), null, $container);
  5. $app->setDispatcher($container->get(DispatcherInterface::class));
  6. $app->setLogger($container->get(LoggerInterface::class));
  7. $app->setSession($container->get(SessionInterface::class));
  8. $app->setUserFactory($container->get(UserFactoryInterface::class));
  9. $app->setCacheControllerFactory($container->get(CacheControllerFactoryInterface::class));
  10. $app->setMenuFactory($container->get(MenuFactoryInterface::class));
in /home/samdyer/public_html/libraries/vendor/joomla/di/src/ContainerResource.php -> Joomla\CMS\Service\Provider\{closure} (line 162)
Container->get('Joomla\\CMS\\Application\\SiteApplication') in /home/samdyer/public_html/includes/app.php (line 52)
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 class "AbstractLogger" from namespace "Psr\Log".
Did you forget a "use" statement for another namespace?

  at /home/samdyer/public_html/libraries/src/Log/DelegatingPsrLogger.php:26
  at include()
     (/home/samdyer/public_html/libraries/vendor/composer/ClassLoader.php:576)
  at Composer\Autoload\{closure}('/home/samdyer/public_html/libraries/vendor/composer/../../../libraries/src/Log/DelegatingPsrLogger.php')
     (/home/samdyer/public_html/libraries/vendor/composer/ClassLoader.php:427)
  at Composer\Autoload\ClassLoader->loadClass('Joomla\\CMS\\Log\\DelegatingPsrLogger')
     (/home/samdyer/public_html/libraries/src/Autoload/ClassLoader.php:59)
  at Joomla\CMS\Autoload\ClassLoader->loadClass('Joomla\\CMS\\Log\\DelegatingPsrLogger')
     (/home/samdyer/public_html/libraries/src/Log/Log.php:290)
  at Joomla\CMS\Log\Log::createDelegatedLogger()
     (/home/samdyer/public_html/libraries/src/Service/Provider/Logger.php:43)
  at Joomla\CMS\Service\Provider\Logger->Joomla\CMS\Service\Provider\{closure}(object(Container))
     (/home/samdyer/public_html/libraries/vendor/joomla/di/src/ContainerResource.php:162)
  at Joomla\DI\ContainerResource->getInstance()
     (/home/samdyer/public_html/libraries/vendor/joomla/di/src/Container.php:95)
  at Joomla\DI\Container->get('Psr\\Log\\LoggerInterface')
     (/home/samdyer/public_html/libraries/src/Service/Provider/Application.php:103)
  at Joomla\CMS\Service\Provider\Application->Joomla\CMS\Service\Provider\{closure}(object(Container))
     (/home/samdyer/public_html/libraries/vendor/joomla/di/src/ContainerResource.php:162)
  at Joomla\DI\ContainerResource->getInstance()
     (/home/samdyer/public_html/libraries/vendor/joomla/di/src/Container.php:95)
  at Joomla\DI\Container->get('Joomla\\CMS\\Application\\SiteApplication')
     (/home/samdyer/public_html/includes/app.php:52)
  at require_once('/home/samdyer/public_html/includes/app.php')
     (/home/samdyer/public_html/index.php:51)