SQL Error

Database error [HY093]: , driver error code is SELECT COUNT(*) FROM news n LEFT JOIN aa_translation t1 ON n.title = t1.id LEFT JOIN aa_translation t2 ON n.text = t2.id WHERE CONCAT('|', `visible`, '|') LIKE '%|1|%' Execute() called at /home/marketingpro/public_html/public/plugin/function.news.php at line 36<br />

SQL Error

Database error [HY093]: , driver error code is SELECT n.id, n.date, n.image, t1.it AS titolo, t2.it AS testo FROM news n LEFT JOIN aa_translation t1 ON n.title = t1.id LEFT JOIN aa_translation t2 ON n.text = t2.id WHERE CONCAT('|', `visible`, '|') LIKE '%|1|%' ORDER BY n.`date` DESC LIMIT 0, 10 Execute() called at /home/marketingpro/public_html/public/plugin/function.news.php at line 36<br />