A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: controllers/Selebriti.php

Line Number: 29

Backtrace:

File: /home/bolz5857/public_html/application/controllers/Selebriti.php
Line: 29
Function: _error_handler

File: /home/bolz5857/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/bolz5857/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/bolz5857/public_html/application/models/Bolly_model.php
Line: 273
Function: get

File: /home/bolz5857/public_html/application/controllers/Selebriti.php
Line: 30
Function: getSel

File: /home/bolz5857/public_html/index.php
Line: 292
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 '-10, 10' at line 7

SELECT `a`.`id`, `a`.`judul`, `a`.`tanggal`, `a`.`foto`, `a`.`caption`, `a`. `isi`, `a`.`page_views`, `b`.`kat_id`, `c`.`namakategori` FROM `artikel` as `a` JOIN `katart` as `b` ON `a`.`id` = `b`.`art_id` JOIN `kategoris` as `c` ON `b`.`kat_id` = `c`.`id` WHERE `b`.`kat_id` = '6' ORDER BY `tanggal` DESC LIMIT -10, 10

Filename: models/Bolly_model.php

Line Number: 273