Undefined binding(s) detected when using sendConfirmationEmail

I couldn’t edit any more but I have narrowed down where the error happens.
/node_modules/@strapi/strapi/lib/services/entity-service/index.js line 220 let entity = await db.query(uid).update({

I don’t believe there is a lifestyle hook doing anything (since I think that happens before now)

i hard coded the where: { id: entityId } to where: { id: 8 } and still get the error.

the up_users table has an id column.