Severity: Warning
Message: A non-numeric value encountered
Filename: helpers/pagging_helper.php
Line Number: 14
Backtrace:
File: /home3/eurocrea/euro-creative.com/application/helpers/pagging_helper.php
Line: 14
Function: _error_handler
File: /home3/eurocrea/euro-creative.com/application/controllers/Courses.php
Line: 93
Function: pagging
File: /home3/eurocrea/euro-creative.com/index.php
Line: 334
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home3/eurocrea/euro-creative.com/application/helpers/pagging_helper.php:109)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home3/eurocrea/euro-creative.com/application/helpers/pagging_helper.php
Line: 99
Function: get
File: /home3/eurocrea/euro-creative.com/application/helpers/pagging_helper.php
Line: 64
Function: get_current_page_records
File: /home3/eurocrea/euro-creative.com/application/controllers/Courses.php
Line: 93
Function: pagging
File: /home3/eurocrea/euro-creative.com/index.php
Line: 334
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 '-20, 20' at line 8
SELECT `course_dates`.*, `courses`.`name` AS `course_name`, `courses`.`department_id`, `courses`.`code` AS `course_code`, `cities`.`city_name_ar` AS `city_name`, `cities`.`country_ar` AS `country`, `cities`.`place` AS `city_place`, `cities`.`place_url` AS `city_place_url`, `periods`.`name_ar` AS `period_name` FROM `course_dates` LEFT JOIN `courses` ON `courses`.`id` = `course_dates`.`course_id` LEFT JOIN `cities` ON `cities`.`id` = `course_dates`.`city_id` LEFT JOIN `periods` ON `periods`.`id` = `course_dates`.`period_id` WHERE `course_dates`.`start_at` > NOW() AND `courses`.`department_id` = 41 ORDER BY `start_at` ASC, `end_at` ASC LIMIT -20, 20
Filename: helpers/pagging_helper.php
Line Number: 99