Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target class [] does not exist #776

Open
Iscrimou opened this issue Mar 23, 2022 · 0 comments
Open

Target class [] does not exist #776

Iscrimou opened this issue Mar 23, 2022 · 0 comments

Comments

@Iscrimou
Copy link

yesterday this problem started to appear in my code without me having changed absolutely anything, I just used a composer update. And the logs says it starts on "makeModel()" of this package:

[2022-03-23 14:37:54] local.ERROR: Target class [] does not exist. {"exception":"[object] (Illuminate\\Contracts\\Container\\BindingResolutionException(code: 0): Target class [] does not exist. at /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php:875) [stacktrace] #0 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php(754): Illuminate\\Container\\Container->build() #1 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(841): Illuminate\\Container\\Container->resolve() #2 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php(692): Illuminate\\Foundation\\Application->resolve() #3 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(826): Illuminate\\Container\\Container->make() #4 /var/www/html/socialhub.shippings/vendor/prettus/l5-repository/src/Prettus/Repository/Eloquent/BaseRepository.php(192): Illuminate\\Foundation\\Application->make() #5 /var/www/html/socialhub.shippings/vendor/prettus/l5-repository/src/Prettus/Repository/Eloquent/BaseRepository.php(99): Prettus\\Repository\\Eloquent\\BaseRepository->makeModel() #6 [internal function]: Prettus\\Repository\\Eloquent\\BaseRepository->__construct() #7 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php(917): ReflectionClass->newInstanceArgs() #8 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php(754): Illuminate\\Container\\Container->build() #9 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(841): Illuminate\\Container\\Container->resolve() #10 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php(692): Illuminate\\Foundation\\Application->resolve() #11 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(826): Illuminate\\Container\\Container->make() #12 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php(1027): Illuminate\\Foundation\\Application->make() #13 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php(947): Illuminate\\Container\\Container->resolveClass() #14 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php(908): Illuminate\\Container\\Container->resolveDependencies() #15 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php(754): Illuminate\\Container\\Container->build() #16 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(841): Illuminate\\Container\\Container->resolve() #17 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php(692): Illuminate\\Foundation\\Application->resolve() #18 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(826): Illuminate\\Container\\Container->make() #19 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Routing/Route.php(275): Illuminate\\Foundation\\Application->make() #20 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Routing/Route.php(1049): Illuminate\\Routing\\Route->getController() #21 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Routing/Route.php(1010): Illuminate\\Routing\\Route->controllerMiddleware() #22 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Routing/Router.php(708): Illuminate\\Routing\\Route->gatherMiddleware() #23 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Console/RouteListCommand.php(175): Illuminate\\Routing\\Router->gatherRouteMiddleware() #24 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Console/RouteListCommand.php(119): Illuminate\\Foundation\\Console\\RouteListCommand->getMiddleware() #25 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Console/RouteListCommand.php(91): Illuminate\\Foundation\\Console\\RouteListCommand->getRouteInformation() #26 [internal function]: Illuminate\\Foundation\\Console\\RouteListCommand->Illuminate\\Foundation\\Console\\{closure}() #27 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(640): array_map() #28 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Console/RouteListCommand.php(92): Illuminate\\Support\\Collection->map() #29 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Console/RouteListCommand.php(76): Illuminate\\Foundation\\Console\\RouteListCommand->getRoutes() #30 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Foundation\\Console\\RouteListCommand->handle() #31 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #32 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure() #33 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod() #34 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call() #35 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Illuminate\\Container\\Container->call() #36 /var/www/html/socialhub.shippings/vendor/symfony/console/Command/Command.php(299): Illuminate\\Console\\Command->execute() #37 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run() #38 /var/www/html/socialhub.shippings/vendor/symfony/console/Application.php(978): Illuminate\\Console\\Command->run() #39 /var/www/html/socialhub.shippings/vendor/symfony/console/Application.php(295): Symfony\\Component\\Console\\Application->doRunCommand() #40 /var/www/html/socialhub.shippings/vendor/symfony/console/Application.php(167): Symfony\\Component\\Console\\Application->doRun() #41 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Console/Application.php(92): Symfony\\Component\\Console\\Application->run() #42 /var/www/html/socialhub.shippings/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run() #43 /var/www/html/socialhub.shippings/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle() #44 {main}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant