I'm having a weird issue – it's generating error log messages, but it appears that the admin is working fine.
The error is:
It appears to occur when I save a piece of content, for example at the URL:
I'm using a custom auth plugin. Looking in the content_locks table, the userID is 0.
The immediate trace is:
My resume_session method returns an array (as per the docs https://docs.grabaperch.com/api/auth/) with keys email and role.
As far as I can tell, if it can't get a lock, then it's looking for a PerchUser object which (obviously) it doesn't have.
Am I doing something wrong?