A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: models/M_informasi.php

Line Number: 19

Backtrace:

File: /home/bppdkalb/public_html/application/modules/public/models/M_informasi.php
Line: 19
Function: _error_handler

File: /home/bppdkalb/public_html/application/modules/public/controllers/Informasi.php
Line: 61
Function: getAll

File: /home/bppdkalb/public_html/index2.php
Line: 295
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/bppdkalb/public_html/application/modules/public/models/M_informasi.php
Line: 25
Function: get

File: /home/bppdkalb/public_html/application/modules/public/controllers/Informasi.php
Line: 61
Function: getAll

File: /home/bppdkalb/public_html/index2.php
Line: 295
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 7

SELECT `a`.*, `b_p`.* FROM `berita` `a` LEFT JOIN `berita_photo` `b_p` ON `b_p`.`id_berita` = `a`.`id_berita` WHERE `status` = 'publish' GROUP BY `a`.`id_berita` ORDER BY `a`.`date_create` DESC LIMIT -9, 9

Filename: modules/public/models/M_informasi.php

Line Number: 25