DBD::mysql::st execute failed: 'koha_kohadev.reserves.reservedate' isn't in GROUP BY [for Statement "SELECT reservedate,
reserves.borrowernumber as borrowernumber,
reserves.branchcode as branch,
ORDER BY items.itemnumber SEPARATOR '|') as listcall,
ORDER BY items.itemnumber SEPARATOR '|') as homebranch_list,
ORDER BY items.itemnumber SEPARATOR '|') as holdingbranch_list,
ORDER BY items.itemnumber SEPARATOR '|') as l_location,
ORDER BY items.itemnumber SEPARATOR '|') as l_itype,
count(DISTINCT reserves.borrowernumber) as reservecount,
count(DISTINCT items.itemnumber) as itemcount
LEFT JOIN items ON items.biblionumber=reserves.biblionumber
LEFT JOIN biblio ON reserves.biblionumber=biblio.biblionumber
notforloan = 0 AND damaged = 0 AND itemlost = 0 AND withdrawn = 0
AND reservedate >= ? AND reservedate <= ?
GROUP BY reserves.biblionumber ORDER BY reservecount DESC" with ParamValues: 0='2017-12-04 00:00', 1='2018-12-04 00:00'] at /home/vagrant/kohaclone/circ/reserveratios.pl line 150.
This is a hard one. I have tried several weeks ago with circ/pendingreserves.pl that has the same problem but decided to postpone it :-/