Stores / Stores | Your Bids

Stores

[Cube\Exception]
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #60 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'yourbidz_v8.l.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by [Query]: SELECT u.*, s.featured_store, l.id AS listing_id FROM ppb_users AS u LEFT JOIN ppb_stores_subscriptions AS s ON s.id = u.store_subscription_id LEFT JOIN ppb_listings AS l ON l.user_id = u.id WHERE (u.active = 1) AND (u.approved = 1) AND (u.store_active = 1) AND (s.featured_store = 1 OR u.store_subscription_id IS NULL) AND (l.list_in != 'site') AND (l.closed = 0) AND (l.deleted = 0) AND (l.active = 1) AND (l.approved = 1) GROUP BY u.id ORDER BY rand() LIMIT 6