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 'c-price.products.CATEGORY' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /var/www/www-root/data/www/c-price.ru/core/controller.php:90
Stack trace:
#0 /var/www/www-root/data/www/c-price.ru/core/controller.php(90): PDO->query()
#1 /var/www/www-root/data/www/c-price.ru/core/controller.php(152): Controller->getCategories()
#2 /var/www/www-root/data/www/c-price.ru/core/controller.php(188): Controller->createSiteTemplate()
#3 /var/www/www-root/data/www/c-price.ru/site/controllers/controller_catalog.php(51): Controller->render()
#4 /var/www/www-root/data/www/c-price.ru/site/controllers/controller_catalog.php(82): Controller_catalog->showCatalog()
#5 /var/www/www-root/data/www/c-price.ru/core/router.php(50): Controller_catalog->catalog()
#6 /var/www/www-root/data/www/c-price in /var/www/www-root/data/www/c-price.ru/core/controller.php on line 90