Fatal error: Uncaught DI\Definition\Exception\InvalidDefinition: Entry "App\Handlers\DefaultErrorHandler" cannot be resolved: Entry "Psr\Log\LoggerInterface" cannot be resolved: the class is not instantiable
Full definition:
Object (
class = #NOT INSTANTIABLE# Psr\Log\LoggerInterface
lazy = false
)
Full definition:
Object (
class = App\Handlers\DefaultErrorHandler
lazy = false
__construct(
$responder = get(App\Responder\Responder)
$logger = get(Psr\Log\LoggerInterface)
$usual = get(App\Beans\Usual)
)
) in /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/php-di/php-di/src/Definition/Exception/InvalidDefinition.php:19
Stack trace:
#0 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(153): DI\Definition\Exception\InvalidDefinition::create(Object(DI\Definition\ObjectDefinition), 'Entry "App\\Hand...')
#1 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(71): DI\Definition\Resolver\ObjectCreator->createInstance(Object(DI\Definition\ObjectDefinition), Array)
#2 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/php-di/php-di/src/Definition/Resolver/ResolverDispatcher.php(71): DI\Definition\Resolver\ObjectCreator->resolve(Object(DI\Definition\ObjectDefinition), Array)
#3 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/php-di/php-di/src/Container.php(390): DI\Definition\Resolver\ResolverDispatcher->resolve(Object(DI\Definition\ObjectDefinition), Array)
#4 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/php-di/php-di/src/Container.php(139): DI\Container->resolveDefinition(Object(DI\Definition\ObjectDefinition))
#5 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/slim/slim/Slim/CallableResolver.php(144): DI\Container->get('App\\Handlers\\De...')
#6 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/slim/slim/Slim/CallableResolver.php(59): Slim\CallableResolver->resolveSlimNotation('App\\Handlers\\De...')
#7 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(171): Slim\CallableResolver->resolve('App\\Handlers\\De...')
#8 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(153): Slim\Middleware\ErrorMiddleware->getDefaultErrorHandler()
#9 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(125): Slim\Middleware\ErrorMiddleware->getErrorHandler('Slim\\Exception\\...')
#10 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(109): Slim\Middleware\ErrorMiddleware->handleException(Object(Slim\Psr7\Request), Object(Slim\Exception\HttpNotFoundException))
#11 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#12 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request))
#13 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request))
#14 /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/slim/slim/Slim/App.php(199): Slim\App->handle(Object(Slim\Psr7\Request))
#15 /data/web/virtuals/282205/virtual/www/subdom/cv/public/index.php(3): Slim\App->run()
#16 {main}
thrown in /data/web/virtuals/282205/virtual/www/subdom/cv/vendor/php-di/php-di/src/Definition/Exception/InvalidDefinition.php on line 19