A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id_berita

Filename: controllers/Berita.php

Line Number: 93

Backtrace:

File: /home/k1275931/public_html/application/controllers/Berita.php
Line: 93
Function: _error_handler

File: /home/k1275931/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/k1275931/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/k1275931/public_html/application/controllers/Berita.php
Line: 97
Function: insert

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

Database Error

A Database Error Occurred

Error Number: 1048

Column 'id_berita' cannot be null

INSERT INTO `dibaca_rec` (`ip`, `username`, `id_berita`, `tgl_dibaca`, `jam_dibaca`) VALUES ('34.239.158.107', 'public', NULL, '2019-08-25', '19:11:27pm')

Filename: controllers/Berita.php

Line Number: 97