Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1140 In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'positiveline.p.id'; this is incompatible with sql_mode=only_full_group_by in /var/www/positiveline/vendor/orm/src/ORM/Driver/MySqlDriver.php:314 Stack trace: #0 /var/www/positiveline/vendor/orm/src/ORM/Driver/MySqlDriver.php(314): PDOStatement->execute() #1 /var/www/positiveline/vendor/orm/src/ORM/Driver/MySqlDriver.php(258): ORM\Driver\MySqlDriver->execute_paginator() #2 /var/www/positiveline/vendor/orm/src/ORM/Query/Query.php(576): ORM\Driver\MySqlDriver->execute_sql() #3 /var/www/positiveline/applications/website/modules/product/src/Product/Repository/ProductRepository.php(311): ORM\Query\Query->getArrayResult() #4 /var/www/positiveline/applications/website/modules/product/src/Product/Repository/ProductRepository.php(424): Product\Repository\ProductRepository->getProductIDs() #5 /var/www/positiveline/applications/website/modules/pro in /var/www/positiveline/vendor/orm/src/ORM/Driver/MySqlDriver.php on line 314