Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14655 reviews 1734 hosting providers

Questions & Answers

Joomla 3 activate new user fatal error

Jun 26, 2013 by Donald
Hello ,
I am using Joomla 3.1.1 for building my website. When activating new users, if I choose the via mail option everything goes fine. However if  I noticed that the user registration have a problem.
If for users activation I choose the option via mail no problem everything goes as planned, but if it imposes an administrator and email is sent to the new user with a link that displays this error Fatal error: Call to a member function where () on a non-object in / home / mydomain / public_html / components / com_users / models / registration.php and  the email activation request is not sent to the administrator.
how do I fix this?

Thanks in advance

1 Answer

0 votes
Jun 26, 2013 by FixHost
Open your registration.php file and look for  "__users"
and make sure it looks like this
   from($db->yourquoteName('#__users'))
          where($db->yourquoteName('sendEmail') . ' = ' . 1);