A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

 Database Error

Um erro no Banco de Dados aconteceu

Error Number: 1064

Você tem um erro de sintaxe no seu SQL próximo a 'and post_tags = '%pipoca%'' na linha 1

select DISTINCT * from post , categoria_post , categoria_blog where categoria_post.post = post.id_post and categoria_post.categoria = categoria_blog.id_categoriablog and categoria_post.status = 1 and categoriablog_exibe = 1 order by post_datapostagem desc and post_tags = '%pipoca%'

Filename: /home/psiconutrire/www/models/blog_model.php

Line Number: 295