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 MySQL server version for the right syntax to use near '' at line 13 in /home/www/wwwroot/phimtv.me/app/core/Database.php:364
Stack trace:
#0 /home/www/wwwroot/phimtv.me/app/core/Database.php(364): PDO->query()
#1 /home/www/wwwroot/phimtv.me/app/controller/Movies.php(110): Database->total()
#2 /home/www/wwwroot/phimtv.me/app/core/App.php(234): Movies->process()
#3 /home/www/wwwroot/phimtv.me/index.php(66): App->process()
#4 {main}
thrown in /home/www/wwwroot/phimtv.me/app/core/Database.php on line 364