?
avatar scottcreid
scottcreid
15 May 2013

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)

avatar scottcreid scottcreid - open - 15 May 2013
avatar brianteeman brianteeman - close - 13 Oct 2013
avatar brianteeman
brianteeman - comment - 13 Oct 2013

Reviewing the code in the current master this has been resolved elsewhere

avatar zero-24 zero-24 - close - 13 Oct 2013
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?
Build staging

Add a Comment

Login with GitHub to post a comment