Fatal error: Uncaught Exception: Query error: <i>Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'atheist.te.createdTimestamp' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by</i>(<br />
SELECT DISTINCT title as keyword, COUNT(*) as photoCount, UNIX_TIMESTAMP( te.createdTimestamp ) as lastUpdated
FROM tblEntry as te
WHERE className = 'Keyword' AND isDisplayed <> 0
GROUP BY title
ORDER BY photoCount DESC
<br />) in /usr/lib/core-php/classes/query/Query.php:244
Stack trace:
#0 /usr/lib/core-php/classes/list/AbstractList.php(170): Query->execute()
#1 /usr/lib/core-php/classes/list/GalleryList.php(47): AbstractList->getEntries()
#2 /usr/lib/core-php/scripts/viewPhotos.php(14): GalleryList->getHTML()
#3 {main}
thrown in /usr/lib/core-php/classes/query/Query.php on line 244