A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Berita.php

Line Number: 107

Backtrace:

File: /home/jbcom2017/public_html/ber-app/_frontend/controllers/Berita.php
Line: 107
Function: _error_handler

File: /home/jbcom2017/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/jbcom2017/public_html/ber-app/_frontend/models/M_data.php
Line: 736
Function: query

File: /home/jbcom2017/public_html/ber-app/_frontend/controllers/Berita.php
Line: 125
Function: juduldaerah

File: /home/jbcom2017/public_html/index.php
Line: 318
Function: require_once

Database Error

A Database Error Occurred

Error Number: 42000/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 '' at line 1

SELECT nama_daerah FROM daerah WHERE id_daerah=;

Filename: models/M_data.php

Line Number: 736