Fatal error: Uncaught mysqli_sql_exception: 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 2 in /home/virtual/anunciope.pe/var/www/html/listarPor.php:141
Stack trace:
#0 /home/virtual/anunciope.pe/var/www/html/listarPor.php(141): mysqli->query()
#1 /home/virtual/anunciope.pe/var/www/html/index.php(236): include('...')
#2 {main}
thrown in /home/virtual/anunciope.pe/var/www/html/listarPor.php on line 141