Severity: Warning
Message: A non-numeric value encountered
Filename: models/Web_model.php
Line Number: 378
Backtrace:
File: /home/apei/public_html/application/models/Web_model.php
Line: 378
Function: _error_handler
File: /home/apei/public_html/application/controllers/En.php
Line: 286
Function: getNewsList
File: /home/apei/public_html/index.php
Line: 316
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/apei/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/apei/public_html/application/models/Web_model.php
Line: 404
Function: get
File: /home/apei/public_html/application/controllers/En.php
Line: 286
Function: getNewsList
File: /home/apei/public_html/index.php
Line: 316
Function: require_once
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 '-9, 9' at line 8
SELECT `articles`.*, `article_category`.`title` AS `category_name` FROM `articles` JOIN `article_category` ON `article_category`.`shared_id` = `articles`.`cat_id` WHERE `articles`.`publish` = 'yes' AND `articles`.`language` = 'en' AND `article_category`.`language` = 'en' ORDER BY `articles`.`created_date` DESC LIMIT -9, 9
Filename: models/Web_model.php
Line Number: 404