A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: controllers/Home.php

Line Number: 34

Backtrace:

File: /home/sditrah2/public_html/application/controllers/Home.php
Line: 34
Function: _error_handler

File: /home/sditrah2/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 578

Backtrace:

File: /home/sditrah2/public_html/application/models/Berita_model.php
Line: 110
Function: get

File: /home/sditrah2/public_html/application/controllers/Home.php
Line: 35
Function: berita

File: /home/sditrah2/public_html/index.php
Line: 315
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 MySQL server version for the right syntax to use near '-6, 6' at line 8

SELECT `berita`.*, `kategori`.`nama_kategori`, `users`.`nama` FROM `berita` LEFT JOIN `kategori` ON `kategori`.`id_kategori` = `berita`.`id_kategori` LEFT JOIN `users` ON `users`.`id_user` = `berita`.`id_user` WHERE `berita`.`status_berita` = 'Publish' AND `berita`.`jenis_berita` = 'Berita' ORDER BY `id_berita` DESC LIMIT -6, 6

Filename: models/Berita_model.php

Line Number: 110