A PHP Error was encountered

Severity: Warning

Message: Missing argument 2 for home::viewer()

Filename: controllers/home.php

Line Number: 206

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: sub_id

Filename: controllers/home.php

Line Number: 212

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /mnt/home4/cbosps/public_html/system/core/Exceptions.php:185)

Filename: core/Common.php

Line Number: 438

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 'and deleted=0 and SbjActive=1 and SbjUsrID IN (SELECT UsrID FROM users WHERE Usr' at line 1

select * from subjects where SbjID = and deleted=0 and SbjActive=1 and SbjUsrID IN (SELECT UsrID FROM users WHERE UsrTypID = 4) ORDER BY SbjID desc

Filename: /mnt/home4/cbosps/public_html/models/subjects_data.php

Line Number: 134