It sort of boggles my mind that $user->($identity->get(‘id’)])
is really even valid syntax, let alone $this->[‘action’ =>...
. Guessing maybe that didn’t get called because $identity
wasn’t set, so it was calling $user->login()
. Not clear what $user
is in this context, but the login
function of that object was presumably trying to read a user from the database, but without having a user to read it ends up with null
, and there is no such record.