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 '?' at line 1 in /var/www/destia/destinosemergentes/config/clases/db.php:75
Stack trace:
#0 /var/www/destia/destinosemergentes/config/clases/db.php(75): mysqli_query()
#1 /var/www/destia/destinosemergentes/config/clases/gde.php(43): db->query()
#2 /var/www/destia/destinosemergentes/app/views/tour/t2/ver-tour.php(9): Gde->obtenerProductoById()
#3 /var/www/destia/destinosemergentes/config/functions.php(253): include_once('...')
#4 /var/www/destia/destinosemergentes/config/routes.php(107): cargar_views()
#5 /var/www/destia/destinosemergentes/index.php(327): include('...')
#6 {main}
thrown in /var/www/destia/destinosemergentes/config/clases/db.php on line 75