A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "id" on null

Filename: shop/Shop_model.php

Line Number: 325

Backtrace:

File: /home/u262393194/domains/bigbasket.pk/public_html/app/models/shop/Shop_model.php
Line: 325
Function: _error_handler

File: /home/u262393194/domains/bigbasket.pk/public_html/app/controllers/shop/Shop.php
Line: 567
Function: getProductBySlug

File: /home/u262393194/domains/bigbasket.pk/public_html/index.php
Line: 272
Function: require_once

An uncaught Exception was encountered

Type: Error

Message: Attempt to assign property "detail" on null

Filename: /home/u262393194/domains/bigbasket.pk/public_html/app/models/shop/Shop_model.php

Line Number: 325

Backtrace:

File: /home/u262393194/domains/bigbasket.pk/public_html/app/controllers/shop/Shop.php
Line: 567
Function: getProductBySlug

File: /home/u262393194/domains/bigbasket.pk/public_html/index.php
Line: 272
Function: require_once