diglactic / laravel-breadcrumbs

Laravel Breadcrumbs - A simple Laravel-style way to create breadcrumbs.
https://packagist.org/packages/diglactic/laravel-breadcrumbs
MIT License
868 stars 63 forks source link

Target class [DaveJamesMiller\Breadcrumbs\BreadcrumbsManager] does not exist. #59

Closed pratik1311 closed 1 year ago

pratik1311 commented 1 year ago

Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover --ansi

Illuminate\Contracts\Container\BindingResolutionException

Target class [DaveJamesMiller\Breadcrumbs\BreadcrumbsManager] does not exist.

at E:\xampp\htdocs\babiesittingclub_latest\vendor\laravel\framework\src\Illuminate\Container\Container.php:877 873▕ 874▕ try { 875▕ $reflector = new ReflectionClass($concrete); 876▕ } catch (ReflectionException $e) { ➜ 877▕ throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e); 878▕ } 879▕ 880▕ // If the type is not instantiable, the developer is attempting to resolve 881▕ // an abstract type such as an Interface or Abstract Class and there is

1 E:\xampp\htdocs\laravel_project\vendor\laravel\framework\src\Illuminate\Container\Container.php:875 ReflectionException::("Class "DaveJamesMiller\Breadcrumbs\BreadcrumbsManager" does not exist")

2 E:\xampp\htdocs\laravel_project\vendor\laravel\framework\src\Illuminate\Container\Container.php:875 ReflectionClass::__construct("DaveJamesMiller\Breadcrumbs\BreadcrumbsManager") Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

shengslogar commented 1 year ago

https://github.com/diglactic/laravel-breadcrumbs/blob/main/UPGRADE.md#upgrading-to-6x-from-5x