Fatal error: Uncaught Cube\Exception: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'rallyaut_v8.bids.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by [Query]: SELECT l.*, MAX(bids.id) AS bid_id FROM ppb_listings AS l INNER JOIN ppb_bids AS bids ON bids.listing_id = l.id WHERE (l.listing_type IN ('auction', 'product')) AND (l.draft = 0) AND (l.active = 1) AND (l.approved = 1) AND (l.list_in != 'store') AND (l.closed = 1) AND (l.deleted = 0) AND (l.end_time <= now()) GROUP BY l.id ORDER BY bids.id DESC, l.start_time DESC LIMIT 40 OFFSET 40 in /home/rallyautoauction/public_html/library/Cube/Db/Statement/Pdo.php:227 Stack trace: #0 /home/rallyautoauction/public_html/library/Cube/Db/Adapter/AbstractAdapter.php(185): Cube\Db\Statement\Pdo->execute(Array) #1 /home/rallyautoauction/public_html/library/Cube/Db/Adapter/PDO/Mysql.php(228): Cube\Db\Adapter in /home/rallyautoauction/public_html/library/Cube/Db/Statement/Pdo.php on line 227