Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHEN ativo = 1 THEN 0 ELSE 1 END AS privada,
CAST(tags_entrev...' at line 64 in /home/u861738622/domains/scotconsultoria.com.br/public_html/pag_busca.php:347
Stack trace:
#0 /home/u861738622/domains/scotconsultoria.com.br/public_html/pag_busca.php(347): PDOStatement->execute()
#1 /home/u861738622/domains/scotconsultoria.com.br/public_html/index.php(666): require_once('/home/u86173862...')
#2 {main}
thrown in /home/u861738622/domains/scotconsultoria.com.br/public_html/pag_busca.php on line 347