Request execution error SELECT * FROM `product_catalog` WHERE `id` = AND `show` = 1 [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 `show` = 1' 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:357
Stack trace:
#0 /home/web/dogcitypet.ru/www/admin/library/class/bd.class.php(357): mysqli_fetch_assoc(false)
#1 /home/web/dogcitypet.ru/www/admin/modules/catalog/lib/catalog.lib.php(11): BD->getRows('SELECT * FROM `...', NULL)
#2 /home/web/dogcitypet.ru/www/admin/modules/catalog/front/catalog.front.php(73): moduleCatalogLibCatalog->getItemsWhere('`id` = AND `sh...')
#3 /home/web/dogcitypet.ru/www/admin/modules/catalog/front/front.php(130): moduleCatalogFrontCatalog->GetOneItem(NULL)
#4 /home/web/dogcitypet.ru/www/admin/modules/page/front/front.php(63): moduleCatalogFront->loader()
#5 /home/web/dogcitypet.ru/www/admin/core/pages/pages.php(29): modulePageFront->includeFunction(Array)
#6 /home/web/dogcitypet.ru/www/index.php(23): include('/home/web/dogci...')
#7 {main}
thrown in /home/web/dogcitypet.ru/www/admin/library/class/bd.class.php on line 357