MySQL Error!
------------------------
The Error returned was:
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 '' at line 4
Error Number:
1064
SELECT COUNT(*) as count FROM dle_author_books INNER JOIN dle_post ON dle_author_books.post_id = dle_post.id WHERE author_id =