Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'teatri.stagione.id_evento' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /var/www/teatro/httpdocs/vendor/propel/propel1/runtime/lib/connection/DebugPDOStatement.php:102
Stack trace:
#0 /var/www/teatro/httpdocs/vendor/propel/propel1/runtime/lib/connection/DebugPDOStatement.php(102): PDOStatement->execute()
#1 /var/www/teatro/httpdocs/vendor/propel/propel1/runtime/lib/query/ModelCriteria.php(1386): DebugPDOStatement->execute()
#2 /var/www/teatro/httpdocs/vendor/propel/propel1/runtime/lib/query/ModelCriteria.php(1249): ModelCriteria->doSelect()
#3 /var/www/teatro/httpdocs/spettacolo/prenotazioni.php(275): ModelCriteria->findOne()
#4 {main}
Next PropelException: Unable to execute SELECT statement [SELECT stagione.id_evento, stagione.teatro, stagione.date, stagione.annos in /var/www/teatro/httpdocs/vendor/propel/propel1/runtime/lib/query/ModelCriteria.php on line 1389