On my vbulletin 5 forum registration isn't working.
When user enters a user name its throwing a popup with 500 internal server error.

To reproduce:
Go to the registration form...