A PHP Error was encountered

Severity: Notice

Message: Only variables should be passed by reference

Filename: controllers/products.php

Line Number: 58


Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /home/kingshop.vn/public_html/site/components/products/controllers/products.php:592 Stack trace: #0 /home/kingshop.vn/public_html/system/core/CodeIgniter.php(339): products->detail() #1 /home/kingshop.vn/public_html/index.php(204): require_once('/home/kingshop....') #2 {main} thrown in /home/kingshop.vn/public_html/site/components/products/controllers/products.php on line 592