laravel-8-roles-and-permissions icon indicating copy to clipboard operation
laravel-8-roles-and-permissions copied to clipboard

BadMethodCallException

Open qamar-arcocia opened this issue 3 years ago • 1 comments

Call to undefined method App\Models\User::getRoleNames() (View: C:\xampp\htdocs\blog\resources\views\users\index.blade.php)

i could not find where you write getRoleNames() function

please define

qamar-arcocia avatar Aug 03 '21 15:08 qamar-arcocia

in the users index there is an function being called which does not exit in the user controller that is why the erorr is given

yassin-c avatar Jan 19 '22 15:01 yassin-c