A PHP Error was encountered

Severity: 4096

Message: Argument 1 passed to List_Product_model::getRelatedData() must be an instance of Entity\ListProduct, null given, called in /var/www/webshop/application/models/list_product_model.php on line 37 and defined

Filename: models/list_product_model.php

Line Number: 394

A PHP Error was encountered

Severity: 4096

Message: Argument 1 passed to List_Product_model::getProduct() must be an instance of Entity\ListProduct, null given, called in /var/www/webshop/application/models/list_product_model.php on line 397 and defined

Filename: models/list_product_model.php

Line Number: 404