Unable to access User panel after deploying my application.

Applications works well locally but get the attached error when I deploy it.
No description
7 Replies
Thijmen
Thijmen15mo ago
Where is this route defined? Do you use it on a page? If you defined it yourself it should be something like:
fn (Model $record): string => route('posts.edit', ['record' => $record]),
fn (Model $record): string => route('posts.edit', ['record' => $record]),
eliud.kinyanjui
eliud.kinyanjuiOP15mo ago
Have not defined any route
Thijmen
Thijmen15mo ago
On which page do you get this error?
eliud.kinyanjui
eliud.kinyanjuiOP15mo ago
On the users page Locally I'm able to access, I push the same code to the repo and pull on the production server and I get that error. Other pages are working ok.
eliud.kinyanjui
eliud.kinyanjuiOP15mo ago
Have defined roles and permissions. Have resolved the issue. There was a user without permissions defined so when I deleted that specific user I'm able to load the page now.
Want results from more Discord servers?
Add your server