A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/a23products/public_html/us/application/helpers/product_helper.php:667)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/a23products/public_html/us/application/models/Cart_Model.php
Line: 21
Function: query

File: /home/a23products/public_html/us/application/controllers/Cart.php
Line: 146
Function: show_cart

File: /home/a23products/public_html/us/application/controllers/Cart.php
Line: 127
Function: getCartDetails

File: /home/a23products/public_html/us/index.php
Line: 327
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1055

Expression #13 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'a23products_root.pi.image_name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT c.*, pi.image_name AS image FROM cart AS c LEFT JOIN product_images AS pi ON (pi.product_id = c.product_id) WHERE c.session_id = "285da1a51ee54418564cbc96cfc7749b273d354e" AND pi.color = c.color GROUP BY pi.color, c.id ORDER BY pi.id ASC

Filename: models/Cart_Model.php

Line Number: 21