Fatal error: Uncaught Exception: DB Error: ERROR: column "p.version" must appear in the GROUP BY clause or be used in an aggregate function LINHA 1: ...sion_id" where "s"."context_id" in ( $1) order by "p"."versi... ^ Query: select MIN(p.date_published), MAX(p.date_published) from "publications" as "p" left join "submissions" as "s" on "s"."submission_id" = "p"."submission_id" where "s"."context_id" in (?) order by "p"."version" asc in /var/www/html/lib/pkp/classes/db/DAO.inc.php:703 Stack trace: #0 /var/www/html/lib/pkp/classes/db/DAO.inc.php(103): DAO->handleError(Object(ADODB_postgres9), 'select MIN(p.da...') #1 /var/www/html/lib/pkp/classes/services/PKPPublicationService.inc.php(256): DAO->retrieve('select MIN(p.da...', Array) #2 /var/www/html/pages/search/SearchHandler.inc.php(93): PKP\Services\PKPPublicationService->getDateBoundaries(Array) #3 /var/www/html/pages/search/SearchHandler.inc.php(146): SearchHandler->_assignSearchFilters(Object(Request), Obje in /var/www/html/lib/pkp/classes/db/DAO.inc.php on line 703