A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Tulokset.php

Line Number: 558

Backtrace:

File: /biz/1/iltarcom/html/application/controllers/Tulokset.php
Line: 558
Function: _error_handler

File: /biz/1/iltarcom/html/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY numero ORDER BY numero ASC' at line 1

SELECT id, numero, koodi FROM rasti WHERE sarja = GROUP BY numero ORDER BY numero ASC

Filename: controllers/Tulokset.php

Line Number: 1053