A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Page.php

Line Number: 659

Backtrace:

File: /var/www/html/srm/website/application/controllers/Page.php
Line: 659
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Page.php

Line Number: 659

Backtrace:

File: /var/www/html/srm/website/application/controllers/Page.php
Line: 659
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Page.php

Line Number: 663

Backtrace:

File: /var/www/html/srm/website/application/controllers/Page.php
Line: 663
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Page.php

Line Number: 663

Backtrace:

File: /var/www/html/srm/website/application/controllers/Page.php
Line: 663
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Page.php

Line Number: 670

Backtrace:

File: /var/www/html/srm/website/application/controllers/Page.php
Line: 670
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Page.php

Line Number: 670

Backtrace:

File: /var/www/html/srm/website/application/controllers/Page.php
Line: 670
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Page.php

Line Number: 676

Backtrace:

File: /var/www/html/srm/website/application/controllers/Page.php
Line: 676
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Page.php

Line Number: 676

Backtrace:

File: /var/www/html/srm/website/application/controllers/Page.php
Line: 676
Function: _error_handler

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

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/srm/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/html/srm/website/application/models/FetchModel.php
Line: 43
Function: get

File: /var/www/html/srm/website/application/controllers/Page.php
Line: 678
Function: SelectDB

File: /var/www/html/srm/index.php
Line: 320
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 ')' at line 3

SELECT * FROM `tb_program_type` WHERE `IsDel` = "0" and `program_type_id` IN (SELECT course_program_type_id FROM tb_course WHERE course_department_id=)

Filename: models/FetchModel.php

Line Number: 43