A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: models/ApiModel.php

Line Number: 266

Backtrace:

File: /home/dom-skc/public_html/application/models/ApiModel.php
Line: 266
Function: _error_handler

File: /home/dom-skc/public_html/application/controllers/Store.php
Line: 158
Function: getCartProduct

File: /home/dom-skc/public_html/application/controllers/Store.php
Line: 40
Function: addToCart

File: /home/dom-skc/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: ret

Filename: models/ApiModel.php

Line Number: 269

Backtrace:

File: /home/dom-skc/public_html/application/models/ApiModel.php
Line: 269
Function: _error_handler

File: /home/dom-skc/public_html/application/controllers/Store.php
Line: 158
Function: getCartProduct

File: /home/dom-skc/public_html/application/controllers/Store.php
Line: 40
Function: addToCart

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

Filename: helpers/url_helper.php

Line Number: 564

Backtrace:

File: /home/dom-skc/public_html/application/controllers/Store.php
Line: 169
Function: redirect

File: /home/dom-skc/public_html/application/controllers/Store.php
Line: 40
Function: addToCart

File: /home/dom-skc/public_html/index.php
Line: 315
Function: require_once