Actions

Fatal-error-in-registration

From Joomla! Documentation

Revision as of 04:48, 14 May 2013 by Elin (Talk | contribs)

When registration is done with administrator activation, one may get a

Fatal error: Call to a member function where() on a non-object in ROOT/components/com_users/models/registration.php on line 109

To solve this, change line 108 of ROOT/components/com_users/models/registration.php

from

->from($db->quoteName('#__users')

to

->from($db->quoteName('#__users'))

(There should be an additional ) at the end of the line.)