A PHP Error was encountered

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/Id.php
Line: 288
Function: getNewsList

File: /home/apei/public_html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

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/Id.php
Line: 288
Function: getNewsList

File: /home/apei/public_html/index.php
Line: 316
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 '-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` = 'id' AND `article_category`.`language` = 'id' ORDER BY `articles`.`created_date` DESC LIMIT -9, 9

Filename: models/Web_model.php

Line Number: 404