Database error: Expression #4 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'awadmin_cscart.cscart_tag_links.user_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_tags.tag_id, cscart_tag_links.object_id, cscart_tag_links.object_type, cscart_tag_links.user_id, COUNT(cscart_tag_links.tag_id) as popularity, COUNT(DISTINCT(cscart_tag_links.user_id)) as users, cscart_tags.tag, cscart_tags.status FROM cscart_tags LEFT JOIN cscart_tag_links ON cscart_tag_links.tag_id = cscart_tags.tag_id WHERE 1 AND cscart_tag_links.object_type = 'A' AND cscart_tag_links.object_id = '14' GROUP BY cscart_tags.tag_id ORDER BY cscart_tags.tag asc
Backtrace:
File: | /home/awadmin/public_html/core/fn.database.php |
Line: | 310 |
Function: | db_error |
File: | /home/awadmin/public_html/core/fn.database.php |
Line: | 70 |
Function: | db_query |
File: | /home/awadmin/public_html/addons/tags/func.php |
Line: | 105 |
Function: | db_get_hash_array |
File: | /home/awadmin/public_html/addons/tags/func.php |
Line: | 297 |
Function: | fn_get_tags |
File: | /home/awadmin/public_html/core/fn.control.php |
Line: | 72 |
Function: | fn_tags_get_page_data |
File: | /home/awadmin/public_html/core/fn.cms.php |
Line: | 273 |
Function: | fn_set_hook |
File: | /home/awadmin/public_html/controllers/customer/pages.php |
Line: | 33 |
Function: | fn_get_page_data |
File: | /home/awadmin/public_html/core/fn.control.php |
Line: | 529 |
Function: | include |
File: | /home/awadmin/public_html/core/fn.control.php |
Line: | 392 |
Function: | fn_run_controller |
File: | /home/awadmin/public_html/index.php |
Line: | 28 |
Function: | fn_dispatch |