No changes in database. The only change i made is that i removed the drop down menu for choosing a hub from the registration form, as i do not want this to appear when registering.
I restored the original templates and it worked. When removing the hub choice, it happens again
Make the hub selection into a hidden field with a default value on the registration form. Then you can assign a hub in the admin panel when you approve the application. The hub is a required field in the registration process so you have to have something there, or change the registration module code and database structure.