Request execution error SELECT `idproduct` FROM `product_filter_product` WHERE `idparent` = 31 AND `idvalue` = 240 and `idproduct` IN ( SELECT `idproduct` FROM `product_filter_product` WHERE `idparent` = 34 AND `idvalue` = 380 and `idproduct` IN ( SELECT `idproduct` FROM `product_filter_product` WHERE `idparent` = 21 AND `idvalue` = 143 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:424 Stack trace: #0 /home/web/dogcitypet.ru/www/admin/library/class/bd.class.php(424): mysqli_fetch_assoc(false) #1 /home/web/dogcitypet.ru/www/admin/modules/catalog/front/line.front.php(560): BD->getField('SELECT `idprodu...', 'idproduct') #2 /home/web/dogcitypet.ru/www/admin/modules/catalog/front/line.front.php(569): moduleCatalogFrontLine->GetWhereFilter() #3 /home/web/dogcitypet.ru/www/admin/modules/catalog/front/line.front.php(867): moduleCatalogFrontLine->GetWhereItems(Array) #4 /home/web/dogcitypet.ru/www/admin/modules/catalog/front/front.php(158): moduleCatalogFrontLine->ListCatalog(NULL) #5 /home/web/dogcitypet.ru/www/admin/modules/page/front/front.php(64): moduleCatalogFront->loader() #6 /home/web/dogcitypet.ru/www/admin/core/pages/pages_new.php(29): modulePageFront->includeFunction(Array) #7 /home/web/dogcitypet.ru/www/admin/core/pages/pages.php(17): include('/home/web/dogci...') #8 /home/web/dogcitypet.ru/www/index.php(27): include('/home/web/dogci...') #9 {main} thrown in /home/web/dogcitypet.ru/www/admin/library/class/bd.class.php on line 424