Actions

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

From Joomla! Documentation

(Created page with "When registration is done with administrator activation, one may get a Fatal error: Call to a member function where() on a non-object in ROOTcomponents/com_users/models/regis...")
 
Line 1: Line 1:
 
When registration is done with administrator activation, one may get a  
 
When registration is done with administrator activation, one may get a  
 +
 
Fatal error: Call to a member function where() on a non-object in ROOTcomponents/com_users/models/registration.php on line 109  
 
Fatal error: Call to a member function where() on a non-object in ROOTcomponents/com_users/models/registration.php on line 109  
  
 
To solve this, change line 108 of ROOT/components/com_users/models/registration.php
 
To solve this, change line 108 of ROOT/components/com_users/models/registration.php
 +
 
from
 
from
 +
 
->from($db->quoteName('#__users')
 
->from($db->quoteName('#__users')
 +
 
to
 
to
 +
 
->from($db->quoteName('#__users'))
 
->from($db->quoteName('#__users'))
 +
 
<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 04:25, 13 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 ROOTcomponents/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'))