Unknown column 'register_form.as' in 'where clause'