Request execution error SELECT `idproduct` FROM `product_filter_product` WHERE `idparent` = 34 AND `idvalue` = 298 and `idproduct` IN ( SELECT `idproduct` FROM `product_filter_product` WHERE `idparent` = 21 AND `idvalue` = 166 and `idproduct` IN ( SELECT `idproduct` FROM `product_filter_product` WHERE `idparent` = 47 AND `idvalue` = 331 and `idproduct` IN ( SELECT `idproduct` FROM `product_filter_product` WHERE `idparent` = AND `idvalue` = 478))) [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 `idvalue` = 478)))' at line 1]
Fatal error: Uncaught TypeError: mysqli_fetch_assoc(): Argument #1 ($result) must be of type mysqli_result, bool given in /home/web/dogcitypet.ru/www/admin/library/class/bd.class.php:425 Stack trace: #0 /home/web/dogcitypet.ru/www/admin/library/class/bd.class.php(425): mysqli_fetch_assoc(false) #1 /home/web/dogcitypet.ru/www/admin/modules/catalog/front/line.front.php(596): BD->getField('SELECT `idprodu...', 'idproduct') #2 /home/web/dogcitypet.ru/www/admin/modules/catalog/front/line.front.php(586): moduleCatalogFrontLine->GetWhereProductFilter(Array) #3 /home/web/dogcitypet.ru/www/admin/modules/catalog/front/line.front.php(603): moduleCatalogFrontLine->GetWhereFilter() #4 /home/web/dogcitypet.ru/www/admin/modules/catalog/front/line.front.php(917): moduleCatalogFrontLine->GetWhereItems(Array) #5 /home/web/dogcitypet.ru/www/admin/modules/catalog/front/front.php(163): moduleCatalogFrontLine->ListCatalog(NULL) #6 /home/web/dogcitypet.ru/www/admin/modules/page/front/front.php(64): moduleCatalogFront->loader() #7 /home/web/dogcitypet.ru/www/admin/core/pages/pages_new.php(26): modulePageFront->includeFunction(Array) #8 /home/web/dogcitypet.ru/www/admin/core/pages/pages.php(17): include('/home/web/dogci...') #9 /home/web/dogcitypet.ru/www/index.php(27): include('/home/web/dogci...') #10 {main} thrown in /home/web/dogcitypet.ru/www/admin/library/class/bd.class.php on line 425