Error Deleting Roles

Closed
Vanguard - Advanced PHP Login and User Management Vanguard - Advanced PHP Login and User Management May 03, 2018
Login to reply
Milos Stojanovic Support Agent
3 months ago

Hey Brayden,

Great, I'm glad we figured out the issue. :)

Brayden Short
3 months ago

Hey Milos, I had simply renamed the User role to something else which had sparked the error I was facing. With a simple rename back to User, it solved the problem!

Milos Stojanovic Support Agent
3 months ago

Hey Brayden,

Hmm... Have you maybe removed or renamed the default "User" role inside the system? 

The error you are getting means that either the role you are trying to delete does not exist or that role named "User" does not exist.

Brayden Short
3 months ago

Hey Milos & Team!

I have customized and resurfaced all of Vanguard with my own theme and it has been going great! The only error that occurs is whenever I try to delete a role with SweetAlert still enabled, I get an awkward error message.


"Trying to get property 'id' of non-object"


To my knowledge, NOTHING has been changing in the routes, controller, or on the page submitting the request.