A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: controllers/home.php

Line Number: 50

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 877

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 m.is_status=1' at line 1

SELECT m.id, m.microsite_link, m.is_status FROM doctors as d, microsites as m where d.id=m.id_doctor and d.is_delete=0 and d.is_approve=1 and m.id_doctor= and m.is_status=1

Filename: /home/gainswav/public_html/practice/models/general.php

Line Number: 147