Warning: Undefined variable $getCatID in /home/diagmexcom/public_html/producto-detalle.php on line 49
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 'AND NOT v.id =54 AND v.stock > 0 ORDER BY RAND() LIMIT 4' at line 1 in /home/diagmexcom/public_html/producto-detalle.php:50
Stack trace:
#0 /home/diagmexcom/public_html/producto-detalle.php(50): mysqli_query(Object(mysqli), 'SELECT b.icon, ...')
#1 {main}
thrown in /home/diagmexcom/public_html/producto-detalle.php on line 50