Hi
After further investigation on this, it turns out that the error comes from Joomla, when the User - Profile plugin is enabled, deleting an user will cause error like you reported. We also reported this issue to Joomla so kindly wait for the new update version from Joomla.
For now, you can temporarily disable this User - Profile plugin and delete user.
Regards