Joomla! 3.1.1 Stable [ Ember ] 26-April-2013 14:00 GMT
PHP Version 5.3.21 on IIS 8
Fatal error: Call to a member function where() on a non-object in C:\wwwroot\components\com_users\models\registration.php on line 109
Appears to be a syntax error:
$query->select($db->quoteName(array('name', 'email', 'sendEmail', 'id')))
->from($db->quoteName('#__users')
->where($db->quoteName('sendEmail') . ' = ' . 1));
needs to be changed to
$query->select($db->quoteName(array('name', 'email', 'sendEmail', 'id')))
->from($db->quoteName('#__users'))
->where($db->quoteName('sendEmail') . ' = ' . 1);
('from' method call needs to be closed on line 108 and a closing bracket removed from the end of line 109)
Labels |
Added:
?
|
||
Build | ⇒ | staging |
Reviewing the code in the current master this has been resolved elsewhere