Template Compilation Error

public:PAGE_CONTAINER - MySQL statement prepare error [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 '' at line 3 in /var/www/vhosts/animesuperhero.com/httpdocs/forums/src/XF/Db/AbstractStatement.php:217