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

"A facade root has not been set." #11

Closed xtfer closed 3 years ago

xtfer commented 3 years ago

After installing laravel-breadcrumbs and adding a single breadcrumb to config/breadcrumbs.php, I get "A facade root has not been set.".

Tried adding it to my app aliases but that made no difference.

Any ideas?

shengslogar commented 3 years ago

Hmm, my guess is something to do with how Laravel boots up. You shouldn't be adding breadcrumbs to your config file.

https://github.com/diglactic/laravel-breadcrumbs#2-define-your-breadcrumbs

Try adding to routes/breadcrumbs.php and see if that does the trick.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.