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 estado='A' ORDER BY id DESC LIMIT 0, 8' at line 2 in /home/terminal/public_html/modelo/PHomsterQuery.php:124
Stack trace:
#0 /home/terminal/public_html/modelo/PHomsterQuery.php(124): PDOStatement->execute()
#1 /home/terminal/public_html/modelo/PHomsterQuery.php(324): PHomsterQuery->ejecutar('SELECT id, usua...')
#2 /home/terminal/public_html/views/destinos/index.php(173): PHomsterQuery->ejecutarBusqueda('SELECT id, usua...')
#3 /home/terminal/public_html/index.php(98): include('/home/terminal/...')
#4 {main}
thrown in /home/terminal/public_html/modelo/PHomsterQuery.php on line 124