Every time I try to register a new user on my site I get the below Fatal error message
Call to a member function where() on a non-object in /homepages/ /htdocs/Joomla3/components/com_users/models/registration.php
But when I check, the user is registered , and it looks normal and an email is sent to the user for activation purposes.
My question is, why am I getting this fatal error, if everything is working out? What could be causing it?