An Error occurred while handling another error:
ReflectionException: Method app\modules\catalog\models\Product::app\modules\catalog\models\{closure}() does not exist in /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/web/ErrorHandler.php:199
Stack trace:
#0 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/web/ErrorHandler.php(199): ReflectionMethod->__construct('app\\modules\\cat...', 'app\\modules\\cat...')
#1 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/views/errorHandler/callStackItem.php(26): yii\web\ErrorHandler->addTypeLinks('app\\modules\\cat...')
#2 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/web/ErrorHandler.php(249): require('/home/c/cc89210...')
#3 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/web/ErrorHandler.php(307): yii\web\ErrorHandler->renderFile('@yii/views/erro...', Array)
#4 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/views/errorHandler/exception.php(385): yii\web\ErrorHandler->renderCallStackItem(NULL, NULL, 'app\\modules\\cat...', 'app\\modules\\cat...', Array, 4)
#5 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/web/ErrorHandler.php(249): require('/home/c/cc89210...')
#6 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/web/ErrorHandler.php(113): yii\web\ErrorHandler->renderFile('@yii/views/erro...', Array)
#7 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/ErrorHandler.php(111): yii\web\ErrorHandler->renderException(Object(yii\base\ErrorException))
#8 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\base\ErrorException))
#9 {main}
Previous exception:
yii\base\ErrorException: simplexml_load_file(http://www.cbr.ru/scripts/XML_daily.asp?date_req=29/03/2024): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
in /home/c/cc89210/shnury.ru/modules/catalog/models/Product.php:321
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(2, 'simplexml_load_...', '/home/c/cc89210...', 321, Array)
#1 /home/c/cc89210/shnury.ru/modules/catalog/models/Product.php(321): simplexml_load_file('http://www.cbr....')
#2 [internal function]: app\modules\catalog\models\Product->app\modules\catalog\models\{closure}(Object(yii\caching\DummyCache))
#3 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/caching/Cache.php(575): call_user_func(Object(Closure), Object(yii\caching\DummyCache))
#4 /home/c/cc89210/shnury.ru/modules/catalog/models/Product.php(331): yii\caching\Cache->getOrSet('EUR', Object(Closure), 43200)
#5 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/Component.php(132): app\modules\catalog\models\Product->getCurrency()
#6 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/db/BaseActiveRecord.php(286): yii\base\Component->__get('currency')
#7 /home/c/cc89210/shnury.ru/themes/en-US/catalog/views/default/partial/_category_product_list.php(73): yii\db\BaseActiveRecord->__get('currency')
#8 [internal function]: yii\base\View->{closure}(Object(app\modules\catalog\models\Product), 1588, 3, Object(yii\grid\DataColumn))
#9 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/grid/DataColumn.php(213): call_user_func(Object(Closure), Object(app\modules\catalog\models\Product), 1588, 3, Object(yii\grid\DataColumn))
#10 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/grid/DataColumn.php(227): yii\grid\DataColumn->getDataCellValue(Object(app\modules\catalog\models\Product), 1588, 3)
#11 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/grid/Column.php(110): yii\grid\DataColumn->renderDataCellContent(Object(app\modules\catalog\models\Product), 1588, 3)
#12 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/grid/GridView.php(507): yii\grid\Column->renderDataCell(Object(app\modules\catalog\models\Product), 1588, 3)
#13 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/grid/GridView.php(476): yii\grid\GridView->renderTableRow(Object(app\modules\catalog\models\Product), 1588, 3)
#14 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/grid/GridView.php(347): yii\grid\GridView->renderTableBody()
#15 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/widgets/BaseListView.php(155): yii\grid\GridView->renderItems()
#16 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/grid/GridView.php(316): yii\widgets\BaseListView->renderSection('{items}')
#17 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/widgets/BaseListView.php(130): yii\grid\GridView->renderSection('{items}')
#18 [internal function]: yii\widgets\BaseListView->yii\widgets\{closure}(Array)
#19 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/widgets/BaseListView.php(133): preg_replace_callback('/{\\w+}/', Object(Closure), '{items}')
#20 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/grid/GridView.php(291): yii\widgets\BaseListView->run()
#21 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/Widget.php(139): yii\grid\GridView->run()
#22 /home/c/cc89210/shnury.ru/themes/en-US/catalog/views/default/partial/_category_product_list.php(81): yii\base\Widget::widget(Array)
#23 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/View.php(328): require('/home/c/cc89210...')
#24 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/View.php(250): yii\base\View->renderPhpFile('/home/c/cc89210...', Array)
#25 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/View.php(152): yii\base\View->renderFile('/home/c/cc89210...', Array, NULL)
#26 /home/c/cc89210/shnury.ru/themes/en-US/catalog/views/default/category.php(39): yii\base\View->render('partial/_catego...', Array)
#27 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/View.php(328): require('/home/c/cc89210...')
#28 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/View.php(250): yii\base\View->renderPhpFile('/home/c/cc89210...', Array)
#29 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/View.php(152): yii\base\View->renderFile('/home/c/cc89210...', Array, Object(app\modules\catalog\controllers\frontend\DefaultController))
#30 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/Controller.php(381): yii\base\View->render('category', Array, Object(app\modules\catalog\controllers\frontend\DefaultController))
#31 /home/c/cc89210/shnury.ru/modules/catalog/controllers/frontend/DefaultController.php(119): yii\base\Controller->render('category', Array)
#32 [internal function]: app\modules\catalog\controllers\frontend\DefaultController->actionIndex('shnury-pletjony...')
#33 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#34 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams(Array)
#35 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/Module.php(523): yii\base\Controller->runAction('index', Array)
#36 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('catalog/default...', Array)
#37 /home/c/cc89210/shnury.ru/vendor/yiisoft/yii2/base/Application.php(380): yii\web\Application->handleRequest(Object(yii\web\Request))
#38 /home/c/cc89210/shnury.ru/web/index.php(33): yii\base\Application->run()
#39 {main}