A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/product.php

Line Number: 299

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/product.php

Line Number: 301

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/portal/public_html/system/core/Exceptions.php:186)

Filename: core/Common.php

Line Number: 441

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY category.id' at line 6

SELECT category.name as category_title, category.id as id_category FROM module_product_category as category INNER JOIN module_product_to_category as to_category ON category.id = to_category.category_id INNER JOIN module_product as product ON product.id = to_category.product_id WHERE to_category.product_id= GROUP BY category.id

Filename: /home/portal/public_html/modules/product/models/product_model.php

Line Number: 270