Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'cws.products.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /var/www/cws/vendor/aura/sql/src/ExtendedPdo.php:771 Stack trace: #0 /var/www/cws/vendor/aura/sql/src/ExtendedPdo.php(771): PDO->prepare('SELECT DISTINCT...', Array) #1 /var/www/cws/src/Controller/Shop.php(222): Aura\Sql\ExtendedPdo->prepare('SELECT DISTINCT...') #2 [internal function]: Cws\Controller\Shop->product(Object(Zend\Diactoros\ServerRequest), Object(Zend\Diactoros\Response), Array) #3 /var/www/cws/vendor/league/route/src/Strategy/ApplicationStrategy.php(22): call_user_func_array(Array, Array) #4 /var/www/cws/vendor/league/route/src/Middleware/ExecutionChain.php(41): League\Route\Strategy\ApplicationStrategy->League\Route\Strategy\{closure}(Object(Zend\Diactoros\ServerRequest), Object(Zend\Diacto in /var/www/cws/vendor/aura/sql/src/ExtendedPdo.php on line 771