Fatal error: Uncaught mysqli_sql_exception: 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 ') and status='A' and id_entidade=126 order by peso, id' at line 1 in /var/www/likenet/classe/likenet/Banco.php:88
Stack trace:
#0 /var/www/likenet/classe/likenet/Banco.php(88): mysqli->query()
#1 /var/www/likenet/classe/likenet/local/Catalogo.php(245): Banco->query()
#2 /var/www/likenet/public_html/likenet.com.br/catalogo/inicio.php(20): Catalogo->listaAnexo()
#3 /var/www/likenet/public_html/likenet.com.br/index.php(210): include('...')
#4 /var/www/likenet/public_html/likenet.com.br/catalogo/index.php(11): include('...')
#5 {main}
thrown in /var/www/likenet/classe/likenet/Banco.php on line 88