تحميل...

Database error: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'tahiyati_cart.cscart_product_features_values.feature_id' 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 cscart_product_features_values.feature_id, COUNT(DISTINCT cscart_products.product_id) as products, cscart_product_features_values.variant_id as range_id, cscart_product_feature_variant_descriptions.variant as range_name, cscart_product_features.feature_type, cscart_product_filters.filter_id FROM cscart_product_features_values LEFT JOIN cscart_products ON cscart_products.product_id = cscart_product_features_values.product_id LEFT JOIN cscart_product_filters ON cscart_product_filters.feature_id = cscart_product_features_values.feature_id LEFT JOIN cscart_product_feature_variants ON cscart_product_feature_variants.variant_id = cscart_product_features_values.variant_id LEFT JOIN cscart_product_feature_variant_descriptions ON cscart_product_feature_variant_descriptions.variant_id = cscart_product_feature_variants.variant_id AND cscart_product_feature_variant_descriptions.lang_code = 'AR' LEFT JOIN cscart_product_features ON cscart_product_features.feature_id = cscart_product_filters.feature_id INNER JOIN cscart_products_categories ON cscart_products_categories.product_id = cscart_products.product_id LEFT JOIN cscart_categories ON cscart_categories.category_id = cscart_products_categories.category_id WHERE cscart_product_features_values.feature_id IN (1, 8) AND cscart_product_features_values.lang_code = 'AR' AND cscart_product_features_values.variant_id AND cscart_products_categories.category_id IN (199) 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_products.usergroup_ids = '' OR FIND_IN_SET(0, cscart_products.usergroup_ids) OR FIND_IN_SET(1, cscart_products.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') AND cscart_products.status IN ('A') AND cscart_product_features.feature_type IN ('S', 'M', 'E') GROUP BY cscart_product_features_values.variant_id ORDER BY cscart_product_feature_variants.position, cscart_product_feature_variant_descriptions.variant


Backtrace:

File:/home/tahiyati/public_html/core/fn.database.php
Line:296
Function:db_error
File:/home/tahiyati/public_html/core/fn.database.php
Line:192
Function:db_query
File:/home/tahiyati/public_html/core/fn.catalog.php
Line:2192
Function:db_get_hash_multi_array
File:/home/tahiyati/public_html/core/fn.cms.php
Line:714
Function:fn_get_filters_products_count
File:/home/tahiyati/public_html/core/templater_plugins/function.block.php
Line:232
Function:fn_get_block_items
File:/home/tahiyati/public_html/core/templater_plugins/function.block.php
Line:64
Function:smarty_function_block_output
File:/home/tahiyati/public_html/core/templater_plugins/function.block.php
Line:32
Function:smarty_function_group_output
File:/home/tahiyati/public_html/var/compiled/customer/%%72^72D^72DAF6E8%%main.tpl.php
Line:13
Function:smarty_function_block
File:/home/tahiyati/public_html/core/class.templater.php
Line:76
Function:include
File:/home/tahiyati/public_html/var/compiled/customer/%%45^45E^45E480CD%%index.tpl.php
Line:362
Function:_smarty_include
File:/home/tahiyati/public_html/lib/templater/Smarty.class.php
Line:1265
Function:include
File:/home/tahiyati/public_html/lib/templater/Smarty.class.php
Line:1108
Function:fetch
File:/home/tahiyati/public_html/core/class.templater.php
Line:110
Function:display
File:/home/tahiyati/public_html/core/fn.control.php
Line:493
Function:display
File:/home/tahiyati/public_html/index.php
Line:15
Function:fn_dispatch