Unable to edit node after upgrading to 7.x-1.0-beta 1:

PDOException: SQLSTATE[42803]: Grouping error: 7 ERROR: column "td.name" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: SELECT td.tid AS tid, td.name AS name, COUNT(tn.tid) AS coun... ^: SELECT td.tid AS tid, td.name AS name, COUNT(tn.tid) AS count FROM {taxonomy_term_data} td INNER JOIN {taxonomy_vocabulary} tv ON tv.vid = td.vid LEFT OUTER JOIN {taxonomy_index} tn ON tn.tid = td.tid WHERE (tv.machine_name = :db_condition_placeholder_0) GROUP BY td.tid ORDER BY count DESC, name ASC; Array ( [:db_condition_placeholder_0] => meal_types ) v _popular_tags_get_terms() (line 92 from /data/b/o/example.com/web/sites/all/modules/popular-tags/popular_tags.widget.inc).

Comments

jitesh doshi’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry to see this break for you.

Unfortunately, I'm not able to reproduce the problem. Can you send your settings for the content-type field-instance? Basically, I need all the settings under "Popular Tags" fieldset on "admin/structure/types/manage/article/fields/field_tags" page (in this example, I'm using content-type=article and field=field_tags, but your situation might be different).

xado’s picture

I have just checked "Use Clickable Popular Tags?" under "Popular tags" fieldset on "admin/structure/types/manage/recipe/fields/field_tags"
and "Limit": empty

db: postgresql 9.0

rollback to popular-tags 7.x-1.0-alpha2 works as expected

xado’s picture

Issue summary: View changes

  • Commit 91e1af4 on 7.x-1.x by Jitesh Doshi:
    Issue #2093739: replaced SQL keyword 'count'.
    
    It was causing failure on...
jitesh doshi’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Assigned: Unassigned » jitesh doshi
Status: Postponed (maintainer needs more info) » Needs review

I have committed and pushed a fix to Git (on the main 7.x-1.x branch). @xado, please test that the issue is resolved. I'm itching to create 1.0 release.

jitesh doshi’s picture

Status: Needs review » Closed (fixed)

This was fixed long time back with 7.x-1.0 release.