Error when pressing "Send Activitation Email" when `must approve users` setting is enabled

I cannot repro this on https://try.discourse.org.

@Jose_C_Gomez make sure you are running on latest Discourse version. Also, do you see any relevant error in /logs ?