Actions

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

From Joomla! Documentation

m
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 ROOT/components/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

Revision as of 00:31, 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'))