Fatal error: Uncaught mysqli_sql_exception: 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 ':void(0) ON article.id = javaScript:void(0).id_article WHERE article.is_activ...' at line 1 in /home/bomadoo/secotec.hr/application/model/userModel.php:180
Stack trace:
#0 /home/bomadoo/secotec.hr/application/model/userModel.php(180): mysqli->query('SELECT * FROM a...')
#1 /home/bomadoo/secotec.hr/application/controller/articles.php(11): UserModel->getArticles('javaScript:void...', NULL, NULL)
#2 /home/bomadoo/secotec.hr/application/core/application.php(37): Articles->all('javaScript:void...')
#3 /home/bomadoo/secotec.hr/public/index.php(31): Application->__construct()
#4 {main}
thrown in /home/bomadoo/secotec.hr/application/model/userModel.php on line 180