Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #14 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'inventory1.pd.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in C:\Apache24\htdocs\inventory\purchase_details.php:179 Stack trace: #0 C:\Apache24\htdocs\inventory\purchase_details.php(179): PDO->query('SELECT po.*, v....') #1 {main} thrown in C:\Apache24\htdocs\inventory\purchase_details.php on line 179