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 'AND `rovivo_tv_videos`.`id` <> 990' at line 1 in /var/www/html/classes/libs/PaginacaoPersonalizada.class.php:51
Stack trace:
#0 /var/www/html/classes/libs/PaginacaoPersonalizada.class.php(51): PDO->query('SELECT COUNT(*)...')
#1 /var/www/html/classes/libs/PaginacaoPersonalizada.class.php(105): PaginacaoPersonalizada->totalRegistros()
#2 /var/www/html/rovivotv/video.php(26): PaginacaoPersonalizada->gerar()
#3 /var/www/html/rovivotv/funcao.php(26): include('/var/www/html/r...')
#4 {main}
thrown in /var/www/html/classes/libs/PaginacaoPersonalizada.class.php on line 51