Fatal error: Uncaught TypeError: array_rand(): Argument #1 ($array) must be of type array, null given in /var/www/u2785601/data/www/expert-torg.ru/wa-cache/d90395/apps/shop/templates/compiled/shop_ru_RU/55/3a/5a/553a5ae7a204be4e2d23751dad145029edc3bd8a.file.promotions.html.php:53
Stack trace:
#0 /var/www/u2785601/data/www/expert-torg.ru/wa-cache/d90395/apps/shop/templates/compiled/shop_ru_RU/55/3a/5a/553a5ae7a204be4e2d23751dad145029edc3bd8a.file.promotions.html.php(53): array_rand(NULL)
#1 /var/www/u2785601/data/www/expert-torg.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_6ad90d338d9094_68121854(Object(Smarty_Internal_Template))
#2 /var/www/u2785601/data/www/expert-torg.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_template.php(287): Smarty_Internal_TemplateBase->fetch(Object(Smarty_Internal_Template), NULL, NULL, NULL, false, false, true)
#3 /var/www/u2785601/data/www/expert-torg.ru/wa-cache/d90395/apps/shop/templates/compiled/shop_ru_RU/ad/6d/2f/ad6d2f1c8c28311f6f1415f2f2bb37230c097da2.file.category.html.php(191): Smarty_Internal_Template->getSubTemplate('sidebar/promoti...', NULL, 'shop_ru_RU', NULL, NULL, Array, 0)
#4 /var/www/u2785601/data/www/expert-torg.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_6ad90d338ba962_56250959(Object(Smarty_Internal_Template))
#5 /var/www/u2785601/data/www/expert-torg.ru/wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('file:category.h...', NULL)
#6 /var/www/u2785601/data/www/expert-torg.ru/wa-system/controller/waViewAction.class.php(190): waSmarty3View->fetch('file:category.h...', NULL)
#7 /var/www/u2785601/data/www/expert-torg.ru/wa-apps/shop/lib/actions/frontend/shopFrontend.action.php(165): waViewAction->display(false)
#8 /var/www/u2785601/data/www/expert-torg.ru/wa-system/controller/waViewController.class.php(86): shopFrontendAction->display()
#9 /var/www/u2785601/data/www/expert-torg.ru/wa-system/controller/waDefaultViewController.class.php(48): waViewController->executeAction(Object(shopFrontendCategoryAction))
#10 /var/www/u2785601/data/www/expert-torg.ru/wa-system/controller/waController.class.php(21): waDefaultViewController->execute()
#11 /var/www/u2785601/data/www/expert-torg.ru/wa-system/controller/waViewController.class.php(46): waController->run(NULL)
#12 /var/www/u2785601/data/www/expert-torg.ru/wa-system/controller/waFrontController.class.php(299): waViewController->run(NULL)
#13 /var/www/u2785601/data/www/expert-torg.ru/wa-apps/shop/lib/classes/shopFrontController.class.php(22): waFrontController->runController(Object(waDefaultViewController), NULL)
#14 /var/www/u2785601/data/www/expert-torg.ru/wa-system/controller/waFrontController.class.php(197): shopFrontController->runController(Object(waDefaultViewController), NULL)
#15 /var/www/u2785601/data/www/expert-torg.ru/wa-system/controller/waFrontController.class.php(84): waFrontController->execute(NULL, 'frontend', 'category')
#16 /var/www/u2785601/data/www/expert-torg.ru/wa-system/controller/waDispatch.class.php(385): waFrontController->dispatch()
#17 /var/www/u2785601/data/www/expert-torg.ru/wa-system/controller/waDispatch.class.php(34): waDispatch->dispatchFrontend('category/almazn...')
#18 /var/www/u2785601/data/www/expert-torg.ru/wa-system/waSystem.class.php(614): waDispatch->dispatch()
#19 /var/www/u2785601/data/www/expert-torg.ru/index.php(7): waSystem->dispatch()
#20 {main}
thrown in /var/www/u2785601/data/www/expert-torg.ru/wa-cache/d90395/apps/shop/templates/compiled/shop_ru_RU/55/3a/5a/553a5ae7a204be4e2d23751dad145029edc3bd8a.file.promotions.html.php on line 53