Database error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'jbhodges.cscart_tag_links.object_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_tags.status IN ('A') GROUP BY cscart_tags.tag_id ORDER BY popularity desc LIMIT 0, 50
Backtrace:
File: | /home/jbhodges/public_html/asstore/core/fn.database.php |
Line: | 259 |
Function: | db_error |
File: | /home/jbhodges/public_html/asstore/core/fn.database.php |
Line: | 54 |
Function: | db_query |
File: | /home/jbhodges/public_html/asstore/addons/tags/func.php |
Line: | 107 |
Function: | db_get_hash_array |
File: | /home/jbhodges/public_html/asstore/core/fn.cms.php |
Line: | 754 |
Function: | fn_get_tags |
File: | /home/jbhodges/public_html/asstore/core/templater_plugins/function.block.php |
Line: | 269 |
Function: | fn_get_block_items |
File: | /home/jbhodges/public_html/asstore/core/templater_plugins/function.block.php |
Line: | 65 |
Function: | smarty_function_block_output |
File: | /home/jbhodges/public_html/asstore/core/templater_plugins/function.block.php |
Line: | 33 |
Function: | smarty_function_group_output |
File: | /home/jbhodges/public_html/asstore/var/compiled/customer/%%72^72D^72DAF6E8%%main.tpl.php |
Line: | 128 |
Function: | smarty_function_block |
File: | /home/jbhodges/public_html/asstore/core/class.templater.php |
Line: | 105 |
Function: | include |
File: | /home/jbhodges/public_html/asstore/var/compiled/customer/%%45^45E^45E480CD%%index.tpl.php |
Line: | 375 |
Function: | _smarty_include |
File: | /home/jbhodges/public_html/asstore/lib/templater/Smarty.class.php |
Line: | 1265 |
Function: | include |
File: | /home/jbhodges/public_html/asstore/lib/templater/Smarty.class.php |
Line: | 1108 |
Function: | fetch |
File: | /home/jbhodges/public_html/asstore/core/class.templater.php |
Line: | 141 |
Function: | display |
File: | /home/jbhodges/public_html/asstore/core/fn.control.php |
Line: | 518 |
Function: | display |
File: | /home/jbhodges/public_html/asstore/index.php |
Line: | 28 |
Function: | fn_dispatch |