A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/IIEST.php

Line Number: 1371

Backtrace:

File: /var/www/html/application/controllers/IIEST.php
Line: 1371
Function: _error_handler

File: /var/www/html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/IIEST.php

Line Number: 1371

Backtrace:

File: /var/www/html/application/controllers/IIEST.php
Line: 1371
Function: _error_handler

File: /var/www/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 'AND faculty.delete_id=0 AND mem_type="Faculty" UNION DISTINCT SELECT facid FROM ' at line 1

SELECT * FROM project WHERE facid in (SELECT facid from roles INNER JOIN faculty ON faculty.sl=roles.facid WHERE acaunit_id= AND faculty.delete_id=0 AND mem_type="Faculty" UNION DISTINCT SELECT facid FROM more_faculty INNER JOIN faculty ON faculty.sl=more_faculty.facid WHERE acaid= AND faculty.delete_id=0 UNION DISTINCT SELECT facid FROM hod_aca WHERE aca_id=) ORDER BY post_on DESC

Filename: models/Iiest/User.php

Line Number: 696