When I put this POST data directly into the Gatekeeper::register method:
Then my records go from this:
to this:
and I also get an additional MySQL error: DB ERROR: [23000] Duplicate entry '1-12' for key 'group_id'
In other words, when inserting this data, GK not only tries to insert a group-user pair twice, it also for some reason grabs the ID of the last inserted user-group pair row and uses that ID as the next user ID.
When I put this POST data directly into the
Gatekeeper::register
method:Then my records go from this:
to this:
and I also get an additional MySQL error:
DB ERROR: [23000] Duplicate entry '1-12' for key 'group_id'
In other words, when inserting this data, GK not only tries to insert a group-user pair twice, it also for some reason grabs the ID of the last inserted user-group pair row and uses that ID as the next user ID.
Am investigating further.