A PHP Error was encountered

Severity: Warning

Message: Missing argument 1 for Cartv::fav()

Filename: controllers/Cartv.php

Line Number: 522

Backtrace:

File: /home/bayuangga/public_html/application/controllers/Cartv.php
Line: 522
Function: _error_handler

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

A PHP Error was encountered

Severity: Warning

Message: Missing argument 2 for Cartv::fav()

Filename: controllers/Cartv.php

Line Number: 522

Backtrace:

File: /home/bayuangga/public_html/application/controllers/Cartv.php
Line: 522
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: idbrg

Filename: controllers/Cartv.php

Line Number: 527

Backtrace:

File: /home/bayuangga/public_html/application/controllers/Cartv.php
Line: 527
Function: _error_handler

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

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/bayuangga/public_html/application/models/Cart_m.php
Line: 38
Function: insert

File: /home/bayuangga/public_html/application/controllers/Cartv.php
Line: 528
Function: tambah_fav

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

Database Error

A Database Error Occurred

Error Number: 1048

Column 'idbrg' cannot be null

INSERT INTO `favorit` (`id`, `idfrontuser`, `idbrg`) VALUES ('', 0, NULL)

Filename: models/Cart_m.php

Line Number: 38