Database error: Expression #47 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'elizbarlomdaridze.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.*, descr1.product as product, MIN(IF(prices.percentage_discount = 0, prices.price, prices.price - (prices.price * prices.percentage_discount)/100)) as price, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids, products_categories.position FROM cscart_products as products LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'EN' 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 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 products.timestamp desc LIMIT 0, 6


Backtrace:

File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/fn.database.php
Line:268
Function:db_error
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/fn.database.php
Line:29
Function:db_query
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/fn.catalog.php
Line:6318
Function:db_get_array
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/classes/bm/block.php
Line:733
Function:fn_get_products
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/classes/bm/render_manager.php
Line:425
Function:get_items
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/classes/bm/render_manager.php
Line:312
Function:get_value
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/classes/bm/render_manager.php
Line:249
Function:render_block_content
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/classes/bm/render_manager.php
Line:199
Function:render_block
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/classes/bm/render_manager.php
Line:172
Function:render_blocks
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/classes/bm/render_manager.php
Line:148
Function:_render_grid
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/classes/bm/render_manager.php
Line:120
Function:_render_container
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/smarty_plugins/function.render_location.php
Line:41
Function:render
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/var/compiled/customer/%%45^45E^45E480CD%%index.tpl.php
Line:349
Function:smarty_function_render_location
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/lib/smarty/Smarty.class.php
Line:1265
Function:include
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/lib/smarty/Smarty.class.php
Line:1108
Function:fetch
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/classes/smarty_engine/core.php
Line:165
Function:display
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/core/fn.control.php
Line:561
Function:display
File:/var/www/elizbarlomdaridze/data/www/elizbarlomdaridze.ge/index.php
Line:22
Function:fn_dispatch