A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: controllers/Shop.php

Line Number: 1277

Backtrace:

File: /var/www/html/application/controllers/Shop.php
Line: 1277
Function: _error_handler

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

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "product_id" on null

Filename: controllers/Shop.php

Line Number: 1277

Backtrace:

File: /var/www/html/application/controllers/Shop.php
Line: 1277
Function: _error_handler

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

An uncaught Exception was encountered

Type: Error

Message: Call to a member function result() on null

Filename: /var/www/html/application/controllers/Shop.php

Line Number: 1279

Backtrace:

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