A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id

Filename: controllers/Blog.php

Line Number: 43

Backtrace:

File: /home/skills/public_html/application/controllers/Blog.php
Line: 43
Function: _error_handler

File: /home/skills/public_html/application/controllers/Blog.php
Line: 20
Function: Index

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/skills/public_html/application/models/M_workshop.php
Line: 33
Function: insert

File: /home/skills/public_html/application/controllers/Blog.php
Line: 44
Function: insert

File: /home/skills/public_html/application/controllers/Blog.php
Line: 20
Function: Index

File: /home/skills/public_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 `tbl_blogview` (`ip_address`, `id_article`, `hit_date`) VALUES ('34.231.247.139', NULL, '2019-09-22 08:33:22')

Filename: models/M_workshop.php

Line Number: 33