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 '-12' at line 1 in /home/r49143pano/1energy.ro/core/Functions.php:70
Stack trace:
#0 /home/r49143pano/1energy.ro/core/Functions.php(70): PDOStatement->execute()
#1 /home/r49143pano/1energy.ro/views/blogcategory.php(47): Functions->getBlogPostsByCategory()
#2 /home/r49143pano/1energy.ro/index.php(154): require('/home/r49143pan...')
#3 {main}
thrown in /home/r49143pano/1energy.ro/core/Functions.php on line 70