Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/ecommerce/views/product-details.php:360
Stack trace:
#0 /var/www/ecommerce/views/template.php(304): include()
#1 /var/www/ecommerce/controllers/template.controller.php(8): include('...')
#2 /var/www/ecommerce/index.php(98): ControllerTemplate->template()
#3 {main}
thrown in /var/www/ecommerce/views/product-details.php on line 360