[Solar-talk] call to function current()

Jeff Surgeson solar at 3hex.com
Mon Mar 5 20:49:05 PST 2007


Hi Paul

Please can you confirm if this is a error you will sort out in future or is it 
something to do with the way I am using the class?

Fatal error: Call to a member function current() on a non-object 
in /var/www/localhost/htdocs/libmod/Solar/Auth/Adapter/Sql.php on line 149

As Rodrigo suggested I am changing line 149
$row = $rows->current();

to

$row = $rows[0];

as a quick fix;

-- 
...........::::::...........
Jeff Surgeson / South Africa


More information about the solar-talk mailing list