Severity: Warning
Message: A non-numeric value encountered
Filename: models/Posting_model.php
Line Number: 179
Backtrace:
File: /home/dtvd4537/public_html/web.dtv-indonesia.co.id/update/application/models/Posting_model.php
Line: 179
Function: _error_handler
File: /home/dtvd4537/public_html/web.dtv-indonesia.co.id/update/application/models/Posting_model.php
Line: 172
Function: calculateRealOffset
File: /home/dtvd4537/public_html/web.dtv-indonesia.co.id/update/application/models/Posting_model.php
Line: 105
Function: paginate
File: /home/dtvd4537/public_html/web.dtv-indonesia.co.id/update/application/controllers/Blog.php
Line: 41
Function: getPostingByCategory
File: /home/dtvd4537/public_html/web.dtv-indonesia.co.id/update/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/dtvd4537/public_html/web.dtv-indonesia.co.id/update/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/dtvd4537/public_html/web.dtv-indonesia.co.id/update/application/models/Posting_model.php
Line: 107
Function: get
File: /home/dtvd4537/public_html/web.dtv-indonesia.co.id/update/application/controllers/Blog.php
Line: 41
Function: getPostingByCategory
File: /home/dtvd4537/public_html/web.dtv-indonesia.co.id/update/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 MariaDB server version for the right syntax to use near '-5, 5' at line 7
SELECT * FROM `posting` JOIN `category` ON `category`.`id` = `posting`. `id_category` WHERE `posting`.`is_active` = 'Y' AND `category`.`slug` = 'css' ORDER BY `posting`.`id` DESC LIMIT -5, 5
Filename: models/Posting_model.php
Line Number: 107