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

LfmController line 84, "\Auth::user()->user_field" #50

Closed
Sheby opened this issue Mar 25, 2016 · 1 comment
Closed

LfmController line 84, "\Auth::user()->user_field" #50

Sheby opened this issue Mar 25, 2016 · 1 comment

Comments

@Sheby
Copy link

Sheby commented Mar 25, 2016

When using php artisan route:list I get a Trying to get property of non-object
Its due to Auth::user() not being set because its artisan doh :).

Just guessing here but, it seems laravel runs its controller constructors when compiling routes.

@streamtw
Copy link
Member

@Sheby :
Thanks for spotting this.
Solved in dev-master.

ana-lisboa pushed a commit to ana-lisboa/laravel-filemanager that referenced this issue Jan 17, 2017
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

2 participants