Severity: Notice
Message: Undefined offset: 0
Filename: controllers/Program.php
Line Number: 206
Backtrace:
File: /home/damitra/public_html/application/controllers/Program.php
Line: 206
Function: _error_handler
File: /home/damitra/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/damitra/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /home/damitra/public_html/application/models/Custom_model.php
Line: 226
Function: get
File: /home/damitra/public_html/application/controllers/Program.php
Line: 206
Function: _get_upcoming_program_not_same
File: /home/damitra/public_html/index.php
Line: 315
Function: require_once
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 '`NULL` AND `p`.`status` = 'PUBLISH' AND `p`.`category_id` = '1' AND `pd`.`progra' at line 4
SELECT `p`.`id`, `p`.`name`, `p`.`slug`, `p`.`image`, `pd`.`start_date` FROM `program_date` as `pd` JOIN `program` as `p` ON `p`.`id` = `pd`.`program_id` WHERE `pd`.`start_date` > `IS` `NULL` AND `p`.`status` = 'PUBLISH' AND `p`.`category_id` = '1' AND `pd`.`program_id` <> '261' GROUP BY `pd`.`program_id` ORDER BY `pd`.`start_date` ASC LIMIT 1
Filename: models/Custom_model.php
Line Number: 226