Warning: Undefined variable $rubro_id in /home/subte01/public_html/producto_1.php on line 267

Warning: Undefined variable $marca_id in /home/subte01/public_html/producto_1.php on line 267

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 productos_1.marca_id = group by productos_1.id order by productos_1.id ...' at line 1 in /home/subte01/public_html/producto_1.php:268 Stack trace: #0 /home/subte01/public_html/producto_1.php(268): mysqli_query(Object(mysqli), 'select producto...') #1 {main} thrown in /home/subte01/public_html/producto_1.php on line 268