A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/larpcen/public_html/system/core/Exceptions.php:185)

Filename: libraries/Session.php

Line Number: 675

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/larpcen/public_html/system/core/Exceptions.php:185)

Filename: core/Common.php

Line Number: 442

Database Error

A Database Error Occurred

Error Number: 1055

Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'larpcen_larpcensus.territory.code' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT territory.name_en, territory.code, territory.population, COUNT(1) as response_count FROM response INNER JOIN territory ON p1_location = territory.code WHERE submitted = 1 AND excluded = 0 AND response_count > 0 GROUP BY name_en ORDER BY response_count DESC, name_en ASC

Filename: /home/larpcen/public_html/models/response_model.php

Line Number: 54