A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Doctor.php

Line Number: 41

Backtrace:

File: /home/jolpie6/public_html/application/modules/doctor/controllers/Doctor.php
Line: 41
Function: _error_handler

File: /home/jolpie6/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Doctor.php

Line Number: 43

Backtrace:

File: /home/jolpie6/public_html/application/modules/doctor/controllers/Doctor.php
Line: 43
Function: _error_handler

File: /home/jolpie6/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/jolpie6/public_html/application/modules/admin/models/Admin_model.php
Line: 398
Function: get

File: /home/jolpie6/public_html/application/modules/doctor/controllers/Doctor.php
Line: 43
Function: select_where_two_join

File: /home/jolpie6/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 MariaDB server version for the right syntax to use near ')' at line 5

SELECT * FROM `doctor_details` LEFT JOIN `doctor_designation_list` ON `doctor_designation_list`.`id`=`doctor_details`.`designation` LEFT JOIN `registration` ON `registration`.`id`=`doctor_details`.`inst_id` WHERE (`doctor_details`.`doctor_id` =)

Filename: modules/admin/models/Admin_model.php

Line Number: 398