A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Main.php

Line Number: 47

Backtrace:

File: /var/www/html/application/controllers/Main.php
Line: 47
Function: _error_handler

File: /var/www/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 /var/www/html/system/core/Exceptions.php:271)

Filename: libraries/Mylib.php

Line Number: 11

Backtrace:

File: /var/www/html/application/libraries/Mylib.php
Line: 11
Function: setcookie

File: /var/www/html/application/controllers/Main.php
Line: 51
Function: insstat

File: /var/www/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 /var/www/html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 578

Backtrace:

File: /var/www/html/application/models/M_data.php
Line: 68
Function: insert

File: /var/www/html/application/libraries/Mylib.php
Line: 17
Function: tambah_data

File: /var/www/html/application/controllers/Main.php
Line: 51
Function: insstat

File: /var/www/html/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1048

Column 'id_article' cannot be null

INSERT INTO `tb_article_view` (`id_article`, `ip`, `time`) VALUES (NULL, '172.18.0.4', '2019-09-15 14:30:46')

Filename: models/M_data.php

Line Number: 68