000-CMS
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 scottcreid scottcreid - open - 15 May 2013
avatar - close - 15 May 2013
avatar elkuku elkuku - close - 15 May 2013
avatar elkuku
elkuku - comment - 15 May 2013

Hi!

This tracker is for the Issue Tracker project. Please report your issue to the CMS at https://github.com/joomla/joomla-cms/issues/new (direct link to the new issue form).

Add a Comment

Login with GitHub to post a comment