Query Error 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 '' at line 1
Query: SELECT product_id FROM shop_category_products WHERE category_id = code 1064

## wa-system/database/waModel.class.php(266)
#0 wa-system/database/waModel.class.php(367): waModel->run('SELECT product_...')
#1 wa-apps/shop/lib/classes/shopSchemaOrg.class.php(24): waModel->query('SELECT product_...')
#2 wa-apps/shop/lib/classes/shopSchemaOrg.class.php(12): shopSchemaOrg::forCategory(NULL)
#3 wa-cache/df6c03/apps/shop/templates/compiled/shop_ru_RU/81/34/8a/81348a629f786928e94e583aa82f78e52a249fbe.file.Category.html.php(26): shopSchemaOrg::getAdditionalValues('category', NULL)
#4 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_65df6d9f3842e9_31267479(Object(Smarty_Internal_Template))
#5 wa-system/vendors/smarty3/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(Object(Smarty_Internal_Template), NULL, NULL, NULL, false, false, true)
#6 wa-cache/df6c03/apps/shop/templates/compiled/shop_ru_RU/15/ca/b7/15cab79dae68a04830f8295deb4737b0ee6d317f.file.main.html.php(84): Smarty_Internal_Template->getSubTemplate('./schema.org.js...', NULL, 'shop_ru_RU', NULL, NULL, Array, 0)
#7 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_65df6c2d7964b2_63430567(Object(Smarty_Internal_Template))
#8 wa-system/vendors/smarty3/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(Object(Smarty_Internal_Template), NULL, NULL, NULL, false, false, true)
#9 wa-cache/df6c03/apps/shop/templates/compiled/shop_ru_RU/38/c2/71/38c271dc2735d76ee9f68771f229473af795e039.file.index.html.php(479): Smarty_Internal_Template->getSubTemplate('/home/admin/web...', NULL, 'shop_ru_RU', NULL, NULL, Array, 0)
#10 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_65df6c2d680824_84079913(Object(Smarty_Internal_Template))
#11 wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('file:index.html', NULL)
#12 wa-system/layout/waLayout.class.php(162): waSmarty3View->fetch('file:index.html')
#13 wa-system/controller/waViewController.class.php(104): waLayout->display()
#14 wa-system/controller/waViewController.class.php(47): waViewController->display()
#15 wa-system/controller/waFrontController.class.php(263): waViewController->run(NULL)
#16 wa-system/controller/waFrontController.class.php(190): waFrontController->runController(Object(waDefaultViewController), NULL)
#17 wa-system/controller/waFrontController.class.php(84): waFrontController->execute(NULL, 'frontend', 'category')
#18 wa-system/controller/waDispatch.class.php(369): waFrontController->dispatch()
#19 wa-system/controller/waDispatch.class.php(34): waDispatch->dispatchFrontend('category/plitka...')
#20 wa-system/waSystem.class.php(610): waDispatch->dispatch()
#21 index.php(6): waSystem->dispatch()
#22 {main}

GET

[]

Params

[
  'app' => 'shop',
  '_name' => 'Буд Харьков',
  'theme' => 'bud',
  'theme_mobile' => 'mobile',
  'checkout_version' => '1',
  'locale' => 'ru_RU',
  'ssl_all' => '1',
  'title' => 'Стройматериалы Харьков - магазин с уникальными ценами 👍👍👍',
  'meta_keywords' => 'Стройматериалы Харьков купить цена',
  'meta_description' => 'Стройматериалы в Харькове ➣ по доступным ценам. Звоните ☎ [067] 579-21-10',
  'og_title' => '',
  'og_image' => '',
  'og_video' => '',
  'og_description' => '',
  'og_type' => '',
  'og_url' => '',
  'url_type' => '1',
  'type_id' => '0',
  'currency' => 'UAH',
  'stock_id' => '1',
  'public_stocks' => '0',
  'drop_out_of_stock' => '1',
  'payment_id' => '0',
  'shipping_id' => '0',
  'ssl' => '1',
  'checkout_storefront_id' => 'f813c656c28b34c15e326acbc2ba79b4',
  'category_url' => 'plitka-dlja-kuhni',
  'module' => 'frontend',
  'action' => 'category',
]