New Zenner
- Join Date:
- Nov 2014
- Location:
- Adelaide, South Australia, Australia
- Posts:
- 3
- Plugin Contributions:
- 0
PHP Fatal error: 1055 p.products_image
Hi Guys,
I was hoping you could offer a tip or 2 on how to fix the following issue. I have searched the forums without any luck so I am assuming it may of been caused by my actions when adding a mod rather than a script issue. I just noticed a large number of error log files similar to the one below, the only variance between the errors is the product id. I have replaced paths and DB names with xxx's.
[17-Nov-2015 00:33:25 UTC] PHP Fatal error: 1055:'xxx.p.products_image' isn't in GROUP BY :: select p.products_id, p.products_image
from orders_products opa, orders_products opb, orders o, products p
where opa.products_id = '678'
and opa.orders_id = opb.orders_id
and opb.products_id != '678'
and opb.products_id = p.products_id
and opb.orders_id = o.orders_id
and p.products_status = 1
group by p.products_id
order by o.date_purchased desc
limit 6 ==> (as called by) /xxx/xxx/public_html/includes/modules/also_purchased_products.php on line 16 <== in /xxx/xxx/public_html/includes/classes/db/mysql/query_factory.php on line 155
Many Thanks for any assistance you can offer. :)