Why do you have a roles column on the users table if you plan to use spatie roles?
Nov 17, 2021
6
Level 1
Laravel Spatie Roles
i have table users with this field like this name, email, department, roles
Call to a member function contains() on string (View: /opt/lampp/htdocs/carpool/resources/views/home.blade.php)
i got some error like this, the error show in all routes, i have reading about the error on internet and solutions is if i remove roles field from my users table the error is gone
why should i do? and i need table field roles to for my api
Please or to participate in this conversation.