Could not select because: Unknown column 'register' in 'where clause'