Database error: Expression #44 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'c51bakari.products_categories.position' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (1055)
Invalid query: SELECT SQL_CALC_FOUND_ROWS products.*, products_categories.position, descr1.product as product, MIN(prices.price) as price, descr1.short_description, IF(descr1.short_description = '', descr1.full_description, '') as full_description, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids FROM cscart_products as products LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'IS' LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') WHERE 1 AND cscart_categories.category_id IN (205, 206, 207, 208, 209, 210, 211, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244) AND products.company_id = 0 AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND products.status IN ('A') AND prices.usergroup_id IN (0, 0, 1) GROUP BY products.product_id ORDER BY descr1.product asc LIMIT 9, 9


Backtrace:
File:/var/www/clients/client51/web54/web/core/fn.database.php
Line:263
Function:db_error
File:/var/www/clients/client51/web54/web/core/fn.database.php
Line:33
Function:db_query
File:/var/www/clients/client51/web54/web/core/fn.catalog.php
Line:3689
Function:db_get_array
File:/var/www/clients/client51/web54/web/controllers/customer/categories.php
Line:73
Function:fn_get_products
File:/var/www/clients/client51/web54/web/core/fn.control.php
Line:582
Function:include
File:/var/www/clients/client51/web54/web/core/fn.control.php
Line:436
Function:fn_run_controller
File:/var/www/clients/client51/web54/web/index.php
Line:27
Function:fn_dispatch