Notice: 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 'medmod_news.enabled = 1 and medmod_news.date <= '2022-07-05 18:22:49' limit 1' at line 1[select n.*, n_tra.* from medmod_news as n left join medmod_new_translations as n_tra on(n.id = n_tra.medmod_new_id)where n.enabled = 1 and n_tra.lang = 'it' and n_tra.title != '' and n.date <= '2022-07-05 18:22:49' and n.id = 2524AND medmod_news.enabled = 1 and medmod_news.date <= '2022-07-05 18:22:49' limit 1] in /home/mmod/public_html/resources/functions.php on line 493

Fatal error: Uncaught Error: Call to a member function fetch_object() on boolean in /home/mmod/public_html/resources/functions.php:502 Stack trace: #0 /home/mmod/public_html/include/news.php(7): getNewsFromSpec('2524', '', '', 1, '', 'AND medmod_news...') #1 /home/mmod/public_html/index.php(83): include('/home/mmod/publ...') #2 {main} thrown in /home/mmod/public_html/resources/functions.php on line 502