Actions

Difference between revisions of "Fatal-error-in-registration"

From Joomla! Documentation

m
Line 12: Line 12:
  
 
->from($db->quoteName('#__users'))
 
->from($db->quoteName('#__users'))
 +
 +
(There should be an additional ) at the end of the line.)
  
 
<noinclude>
 
<noinclude>
 
[[Category:Version 3.1.0 FAQ]][[Category:Version 3.1.1 FAQ]]
 
[[Category:Version 3.1.0 FAQ]][[Category:Version 3.1.1 FAQ]]
 
</noinclude>
 
</noinclude>

Revision as of 03:48, 14 May 2013

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.)