Hello @marketopiateam
You load this view somewhere but it didn't get the $roles variable.
I suspect you have something like view('myblade');
but you need to give it the $roles
variable.
Like: view('myblade')->with('roles', $myListWithRoles);
ps. I have updated your post to have everything in a code block
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community