A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: controllers/_artikel.php

Line Number: 64

Backtrace:

File: /home/ltpresen/abubakaralkhairiyyah.org/application/controllers/_artikel.php
Line: 64
Function: _error_handler

File: /home/ltpresen/abubakaralkhairiyyah.org/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/ltpresen/abubakaralkhairiyyah.org/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/ltpresen/abubakaralkhairiyyah.org/application/models/Artikel_model.php
Line: 101
Function: get

File: /home/ltpresen/abubakaralkhairiyyah.org/application/controllers/_artikel.php
Line: 65
Function: artikel

File: /home/ltpresen/abubakaralkhairiyyah.org/index.php
Line: 315
Function: require_once

Database Error

Sebuah Kesalahan Basis Data Terjadi

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 '-2, 2' at line 8

SELECT `artikel`.*, count(coment.slug) as jumlah_komen, `kategori_artikel`.`nama_kategori_artikel`, `kategori_artikel`.`slug_kategori_artikel` FROM `artikel` LEFT JOIN `kategori_artikel` ON `kategori_artikel`.`id_kategori_artikel` = `artikel`.`id_kategori_artikel` LEFT JOIN `coment` ON `coment`.`slug` = `artikel`.`slug` WHERE `artikel`.`status` = 'Publish' GROUP BY `artikel`.`id_artikel` ORDER BY `id_artikel` DESC LIMIT -2, 2

Filename: models/Artikel_model.php

Line Number: 101