LaravelDaily / QuickLMS

Simple Learning Management System based on Laravel 5.4.
147 stars 97 forks source link

Undefined variable permissionArray in QuickLMS/app/Providers/AuthServiceProvider.php', 42, array('user' => null, 'roles' => object(Collection))) #3

Closed bethperk closed 6 years ago

bethperk commented 6 years ago

I've just installed QuickLMS and went to log in but got this error when going to the login screen. I found a reference here to something similar but wasn't sure if this was the right direction. https://laracasts.com/discuss/channels/laravel/romanbicanroles-package-and-exception. Any ideas on what the problem might be?

PovilasKorop commented 6 years ago

Hi @bethperk looks like you have no permissions in your database. Have you done database seeding? php artisan migrate --seed or separately php artisan db:seed

bethperk commented 6 years ago

That fixed it. Thanks so much!

On Tue, Feb 27, 2018 at 2:03 PM, PovilasKorop notifications@github.com wrote:

Hi @bethperk https://github.com/bethperk looks like you have no permissions in your database. Have you done database seeding? php artisan migrate --seed or separately php artisan db:seed

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LaravelDaily/QuickLMS/issues/3#issuecomment-369007740, or mute the thread https://github.com/notifications/unsubscribe-auth/AITCcZvfjH2e_gQ0lX-1TqYEh497EHx3ks5tZF9wgaJpZM4SViQJ .

blumenow commented 3 years ago

Undefined variable: operator' when I edit a course