A PHP Error was encountered

Severity: Notice

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

Filename: controllers/website.php

Line Number: 341

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/emotion/public_html/system/core/Exceptions.php:186)

Filename: core/Common.php

Line Number: 441

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1

SELECT * FROM `teachers` WHERE is_deleted = 0 and designation =

Filename: /home/emotion/public_html/models/teachers_m.php

Line Number: 29