I'm using this package enter link description here Roles And Permissions For Laravel 5. This package was working fine on Laravel 5.2 but when I upgraded to laravel 5.3 I started to get this error on many APIs "Trying to get property 'id' of non-object"
Has anyone an Idea on how to solve this?
Asked
Active
Viewed 30 times
0

marmahan
- 183
- 2
- 15
-
Clear your config `php artisan config:clear` – STA May 13 '20 at 08:56
-
Thanks. I did it but still the same error – marmahan May 13 '20 at 08:59
-
Your current database is empty? – STA May 13 '20 at 09:00
-
Not really, it is fine. when i downgrade laravel to 5.2 everything works fine – marmahan May 13 '20 at 09:01
-
This package is abandoned and only supports Laravel up to version 5.1 – Remul May 13 '20 at 15:29