Details
Description
This is not dissimilar to the resolved MDL-8614, but this error is generated with Moodle 1.9 beta code on a PostgreSQL database (more fussy than MySQL I think):
ERROR: column "tg.rawname" must appear in the GROUP BY clause or be used in an aggregate function
SELECT tg.rawname, tg.id, tg.name, COUNT(ti.id) AS count, tg.flag FROM hlearn_tag_instance ti INNER JOIN hlearn_tag tg ON tg.id = ti.tagid GROUP BY tagid ORDER BY count DESC
- line 779 of lib/dmllib.php: call to debugging()
- line 1020 of lib/dmllib.php: call to get_recordset_sql()
- line 1125 of tag/lib.php: call to get_records_sql() ....
Issue Links
| This issue is duplicated by: | ||||
| MDL-11772 | Error in tag/manage.php |
|
|
|
Thanks John for the report. I have added them into the group by clause.
Cheers, Yu