Level 2
post some more code specially the AuthServiceProvider and all.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi all.
I made the Jeffray's tutorial "ACL roles and permissions" but I have this error message :
ErrorException in AuthServiceProvider.php line 42:
Undefined variable: permission (View: /home/vagrant/WebSites/cmne- viewer/resources/views/home.blade.php)
That's happend when I use @can( 'create_post' ) in the view
Please or to participate in this conversation.