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 '-4, 4' at line 1 in /home/secunda1/public_html/includes/public_functions.php:78
Stack trace:
#0 /home/secunda1/public_html/includes/public_functions.php(78): mysqli_query(Object(mysqli), 'SELECT * FROM ...')
#1 /home/secunda1/public_html/filtrado-noticias.php(10): getPublishedPostsByTopic('19', -4, 4)
#2 {main}
thrown in /home/secunda1/public_html/includes/public_functions.php on line 78