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/chemvet/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/chemvet/public_html/system/core/Exceptions.php:185)

Filename: core/Common.php

Line Number: 438

Database Error

A Database Error Occurred

Error Number: 1055

Expression #8 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'chemvet_db.newsimg.idnewsimg' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT * FROM (`news`) JOIN `newsimg` ON `newsimg`.`idnews` = `news`.`idnews` WHERE `banner` = 1 AND ((date_start <= 20190121 AND date_end >= 20190121) OR (date_start <= 20190121 AND date_end = 0)) GROUP BY `news`.`idnews` ORDER BY `date_start` desc

Filename: /home/chemvet/public_html/models/pagemodel.php

Line Number: 47