I have website which has problems now and I need someone to check them and fix. For example one of the errors that have came up recently: Uncaught exception 'PDOException' with message '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 1' in /home/.../admin/include/user-downloads-pagination.php:25 Stack trace: #0 /home.../admin/include/user-downloads-pagination.php(25): PDOStatement->execute() #1 /home/.../admin/user-review.php(66): Paginate->paginatePage('5', 'bad_downloads', '', '') #2 {main} thrown in /home/.../admin/include/user-downloads-pagination.php on line 25 I need at least one function working again: delete inactive user with files because I need to clean up my server.