A PHP Error was encountered

Severity: Warning

Message: foreach() argument must be of type array|object, null given

Filename: libraries/Cart.php

Line Number: 811

Backtrace:

File: /home/reportsweb/public_html/application/helpers/cart_helper.php
Line: 65
Function: remove

File: /home/reportsweb/public_html/application/controllers/Checkout_controller.php
Line: 155
Function: remove_from_cart

File: /home/reportsweb/public_html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/reportsweb/public_html/application/helpers/cart_helper.php
Line: 394
Function: insert

File: /home/reportsweb/public_html/application/controllers/Checkout_controller.php
Line: 156
Function: update_by_cartid

File: /home/reportsweb/public_html/index.php
Line: 316
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1062

Duplicate entry '357293' for key 'tbl_cart.PRIMARY'

INSERT INTO `tbl_cart` (`id`, `cart_contents`) VALUES (357293, 'a:0:{}')

Filename: helpers/cart_helper.php

Line Number: 394