A PHP Error was encountered

Severity: Notice

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

Filename: controllers/De.php

Line Number: 334

Backtrace:

File: /var/www/html/rogus-bus.com/public_html/application/controllers/De.php
Line: 334
Function: _error_handler

File: /var/www/html/rogus-bus.com/public_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 '' at line 1

SELECT * FROM bus_feats AS t WHERE enable=1 AND bus_id=

Filename: models/Common_model.php

Line Number: 19