SQLException: SELECT DISTINCT c.category_id, c.name as name3, c.slug as slug3
FROM category c
INNER JOIN product_category pc ON ( c.category_id = pc.category_id )
INNER JOIN product p ON ( pc.product_id = p.product_id )
WHERE p.brand_id = ORDER BY c.orden ASC [nativecode=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 'ORDER BY c.orden ASC' at line 5]


File: /home/bibh08l6urxc/public_html/bo/libs/VicomStudio/DBPEAR.class.php
Line: 179
#0 /home/bibh08l6urxc/public_html/bo/libs/VicomStudio/DBPEAR.class.php(61): DBPEAR->returnResult()
#1 /home/bibh08l6urxc/public_html/bo/libs/eCommerce/SDO/Core/DAO/Product.class.php(137): DBPEAR->sqlGetResult()
#2 /home/bibh08l6urxc/public_html/bo/libs/eCommerce/SDO/Core/Application/Product.class.php(151): eCommerce_SDO_Core_DAO_Product->getFamiliasByBrand()
#3 /home/bibh08l6urxc/public_html/bo/libs/eCommerce/SDO/Catalog.class.php(223): eCommerce_SDO_Core_Application_Product::getFamiliasByBrand()
#4 /home/bibh08l6urxc/public_html/bo/view/BrandView.php(15): eCommerce_SDO_Catalog::getFamiliasByBrand()
#5 /home/bibh08l6urxc/public_html/bo/libs/PEAR/Savant3.php(1074): include('/home/bibh08l6u...')
#6 /home/bibh08l6urxc/public_html/bo/libs/PEAR/Savant3.php(1006): Savant3->fetch()
#7 /home/bibh08l6urxc/public_html/bo/libs/PEAR/Savant3.php(993): Savant3->getOutput()
#8 /home/bibh08l6urxc/public_html/bo/libs/eCommerce/FrontEnd/FO/Brand.class.php(38): Savant3->display()
#9 /home/bibh08l6urxc/public_html/bo/libs/eCommerce/FrontEnd/FO/Brand.class.php(25): eCommerce_FrontEnd_FO_Brand->_loadBySlug()
#10 /home/bibh08l6urxc/public_html/brand_details.php(4): eCommerce_FrontEnd_FO_Brand->execute()
#11 {main}