## wa-system/database/waModel.class.php(283)
#0 wa-system/database/waModel.class.php(384): waModel->run('SELECT rl.*/n ...')
#1 wa-system/database/waDbStatement.class.php(229): waModel->query('SELECT rl.*/n ...')
#2 wa-system/database/waModel.class.php(364): waDbStatement->query(Array)
#3 wa-apps/shop/lib/model/shopPromoRules.model.php(141): waModel->query('SELECT rl.*/n ...', Array)
#4 wa-apps/shop/lib/classes/marketing/promo/shopPromoProductPrices.class.php(56): shopPromoRulesModel->getByActivePromos(Array)
#5 wa-apps/shop/lib/classes/marketing/promo/shopPromoProductPrices.class.php(127): shopPromoProductPrices->loadPromoPrices()
#6 wa-apps/shop/lib/classes/shopProductsCollection.class.php(4064): shopPromoProductPrices->getPromoPrices()
#7 wa-apps/shop/lib/classes/shopProductsCollection.class.php(1470): shopProductsCollection->loadPromoPrices()
#8 wa-apps/shop/lib/classes/shopProductsCollection.class.php(1405): shopProductsCollection->setByComparePrice()
#9 wa-apps/shop/lib/classes/shopProductsCollection.class.php(398): shopProductsCollection->setPrepare('bestsellers', true)
#10 wa-apps/shop/lib/classes/shopProductsCollection.class.php(2431): shopProductsCollection->prepare()
#11 wa-apps/shop/lib/classes/shopProductsCollection.class.php(2553): shopProductsCollection->getSQL()
#12 wa-apps/shop/lib/classes/shopViewHelper.class.php(191): shopProductsCollection->getProducts('*', 0, 500, true)
#13 wa-apps/shop/lib/classes/shopViewHelper.class.php(234): shopViewHelper->products('set/bestsellers', 0, 500, Array)
#14 wa-cache/56c9b2/apps/shop/templates/compiled/shop_en_US/07/a6/b5/07a6b53655b23a1759720f7758c0795125dfa839.file.index.html.php(1171): shopViewHelper->productSet('bestsellers')
#15 wa-cache/56c9b2/apps/shop/templates/compiled/shop_en_US/07/a6/b5/07a6b53655b23a1759720f7758c0795125dfa839.file.index.html.php(1138): content_675a5a6aa52e71_72082815(Object(Smarty_Internal_Template))
#16 wa-cache/56c9b2/apps/shop/templates/compiled/shop_en_US/07/a6/b5/07a6b53655b23a1759720f7758c0795125dfa839.file.index.html.php(652): content_675a5a6a9ed9d8_70689682(Object(Smarty_Internal_Template))
#17 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_675a5a6b352e06_57955874(Object(Smarty_Internal_Template))
#18 wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('file:index.html', NULL)
#19 wa-system/layout/waLayout.class.php(162): waSmarty3View->fetch('file:index.html')
#20 wa-system/controller/waViewController.class.php(104): waLayout->display()
#21 wa-system/controller/waViewController.class.php(47): waViewController->display()
#22 wa-system/controller/waFrontController.class.php(295): waViewController->run(NULL)
#23 wa-apps/shop/lib/classes/shopFrontController.class.php(22): waFrontController->runController(Object(waDefaultViewController), NULL)
#24 wa-system/controller/waFrontController.class.php(193): shopFrontController->runController(Object(waDefaultViewController), NULL)
#25 wa-system/controller/waFrontController.class.php(84): waFrontController->execute(NULL, 'frontend', 'page')
#26 wa-system/controller/waDispatch.class.php(385): waFrontController->dispatch()
#27 wa-system/controller/waDispatch.class.php(34): waDispatch->dispatchFrontend('shop/about/refu...')
#28 wa-system/waSystem.class.php(614): waDispatch->dispatch()
#29 index.php(7): waSystem->dispatch()
#30 {main}
Params
[
'app' => 'shop',
'_name' => 'Магазин',
'theme' => 'prostore',
'theme_mobile' => 'prostore',
'checkout_version' => '2',
'locale' => 'ru_RU',
'title' => '',
'meta_keywords' => '',
'meta_description' => '',
'og_title' => '',
'og_image' => '',
'og_video' => '',
'og_description' => '',
'og_type' => '',
'og_url' => '',
'url_type' => '0',
'products_per_page' => '',
'type_id' => '0',
'currency' => 'RUB',
'public_stocks' => '0',
'drop_out_of_stock' => '0',
'payment_id' => '0',
'shipping_id' => [
'1',
],
'checkout_storefront_id' => '025762c6743d14a0f9c78ba653cf71b5',
'module' => 'frontend',
'action' => 'page',
'page_id' => '5',
]