при переходе в дебагер backenda по адерсе cremea.lc/admin/debug получаю такую ошибку
'1488613980.414' is not a valid date time value: DateTime::__construct(): Failed to parse time string (@1488613980.414) at position 12 (4): Unexpected character
вот лог
1. in /var/www/cremea.lc/vendor/yiisoft/yii2/i18n/Formatter.php at line
// finally try to create a DateTime object with the value
if ($checkTimeInfo) {$timestamp = new DateTime($value, new DateTimeZone($this->defaultTimeZone));
$info = date_parse($value);
return [$timestamp, !($info['hour'] === false && $info['minute'] === false && $info['second'] === false)];} else {
return new DateTime($value, new DateTimeZone($this->defaultTimeZone));}
} catch (\Exception $e) { throw new InvalidParamException("'$value' is not a valid date time value: " . $e->getMessage()//ошибка
2. in /var/www/cremea.lc/vendor/yiisoft/yii2/i18n/Formatter.php at line 594 – yii\i18n\Formatter::normalizeDatetimeValue(1488613980.414)
3. in /var/www/cremea.lc/vendor/yiisoft/yii2/i18n/Formatter.php at line 557 – yii\i18n\Formatter::formatDateTimeValue(1488613980.414, 'yyyy-MM-dd HH:mm:ss', 'datetime')
4. in /var/www/cremea.lc/vendor/yiisoft/yii2-debug/views/default/index.php at line 70 – yii\i18n\Formatter::asDatetime(1488613980.414, 'yyyy-MM-dd HH:mm:ss')
}, 'format' => 'html',],
['attribute' => 'time','value' => function ($data) { return '<span class="nowrap">' . Yii::$app->formatter->asDatetime($data['time'], 'yyyy-MM-dd HH:mm:ss') . '</span>';//ошибка},
'format' => 'html',], 'ip',
['attribute' => 'sqlCount',
5. yii\base\View::{closure}(['tag' => '58ba725c65ce3', 'url' => 'http://crimea.lc/admin', 'ajax' => 0, 'method' => 'GET', ...], '58ba725c65ce3', 24, yii\grid\DataColumn)
6. in /var/www/cremea.lc/vendor/yiisoft/yii2/grid/DataColumn.php at line 211 – call_user_func(Closure, ['tag' => '58ba725c65ce3', 'url' => 'http://crimea.lc/admin', 'ajax' => 0, 'method' => 'GET', ...], '58ba725c65ce3', 24, ...)
7. in /var/www/cremea.lc/vendor/yiisoft/yii2/grid/DataColumn.php at line 225 – yii\grid\DataColumn::getDataCellValue(['tag' => '58ba725c65ce3', 'url' => 'http://crimea.lc/admin', 'ajax' => 0, 'method' => 'GET', ...], '58ba725c65ce3', 24)
8. in /var/www/cremea.lc/vendor/yiisoft/yii2/grid/Column.php at line 108 – yii\grid\DataColumn::renderDataCellContent(['tag' => '58ba725c65ce3', 'url' => 'http://crimea.lc/admin', 'ajax' => 0, 'method' => 'GET', ...], '58ba725c65ce3', 24)
9. in /var/www/cremea.lc/vendor/yiisoft/yii2/grid/GridView.php at line 504 – yii\grid\Column::renderDataCell(['tag' => '58ba725c65ce3', 'url' => 'http://crimea.lc/admin', 'ajax' => 0, 'method' => 'GET', ...], '58ba725c65ce3', 24)
10. in /var/www/cremea.lc/vendor/yiisoft/yii2/grid/GridView.php at line 473 – yii\grid\GridView::renderTableRow(['tag' => '58ba725c65ce3', 'url' => 'http://crimea.lc/admin', 'ajax' => 0, 'method' => 'GET', ...], '58ba725c65ce3', 24)
11. in /var/www/cremea.lc/vendor/yiisoft/yii2/grid/GridView.php at line 344 – yii\grid\GridView::renderTableBody()
12. in /var/www/cremea.lc/vendor/yiisoft/yii2/widgets/BaseListView.php at line 151 – yii\grid\GridView::renderItems()
13. in /var/www/cremea.lc/vendor/yiisoft/yii2/grid/GridView.php at line 313 – yii\widgets\BaseListView::renderSection('{items}')
14. in /var/www/cremea.lc/vendor/yiisoft/yii2/widgets/BaseListView.php at line 126 – yii\grid\GridView::renderSection('{items}')
15. yii\widgets\BaseListView::yii\widgets\{closure}(['{items}'])
16. in /var/www/cremea.lc/vendor/yiisoft/yii2/widgets/BaseListView.php at line 129 – preg_replace_callback('/{\w+}/', Closure, '{summary} {items} {pager}')
17. in /var/www/cremea.lc/vendor/yiisoft/yii2/grid/GridView.php at line 288 – yii\widgets\BaseListView::run()
18. in /var/www/cremea.lc/vendor/yiisoft/yii2/base/Widget.php at line 102 – yii\grid\GridView::run()
19. in /var/www/cremea.lc/vendor/yiisoft/yii2-debug/views/default/index.php at line 132 – yii\base\Widget::widget(['dataProvider' => yii\data\ArrayDataProvider, 'filterModel' => yii\debug\models\search\Debug, 'rowOptions' => Closure, 'columns' => [['class' => 'yii\grid\SerialColumn'], ['attribute' => 'tag', 'value' => Closure, 'format' => 'html'], ['attribute' => 'time', 'value' => Closure, 'format' => 'html'], 'ip', ...], ...])
$class = 'label-danger';}
return "<span class=\"label {$class}\">$statusCode</span>";},
'format' => 'raw','filter' => $statusCodes,'label' => 'Status code'//ошибка],],]);
} else { echo "<div class='alert alert-warning'>No data available. Panel <code>db</code> or <code>request</code> not found.</div>";
20. in /var/www/cremea.lc/vendor/yiisoft/yii2/base/View.php at line 326 – require('/var/www/cremea.lc/vendor/yiisof...')
21. in /var/www/cremea.lc/vendor/yiisoft/yii2/base/View.php at line 248 – yii\base\View::renderPhpFile('/var/www/cremea.lc/vendor/yiisof...', ['panels' => ['config' => yii\debug\panels\ConfigPanel, 'request' => yii\debug\panels\RequestPanel, 'log' => yii\debug\panels\LogPanel, 'profiling' => yii\debug\panels\ProfilingPanel, ...], 'dataProvider' => yii\data\ArrayDataProvider, 'searchModel' => yii\debug\models\search\Debug, 'manifest' => ['58ca63676b59d' => ['tag' => '58ca63676b59d', 'url' => 'http://cremea.lc/admin/product/i...', 'ajax' => 0, 'method' => 'GET', ...], '58ca6362bf877' => ['tag' => '58ca6362bf877', 'url' => 'http://cremea.lc/admin/about/ind...', 'ajax' => 0, 'method' => 'GET', ...], '58ca635e4fe21' => ['tag' => '58ca635e4fe21', 'url' => 'http://cremea.lc/admin', 'ajax' => 0, 'method' => 'GET', ...], '58ca63563384c' => ['tag' => '58ca63563384c', 'url' => 'http://cremea.lc/admin/menus/men...', 'ajax' => 0, 'method' => 'GET', ...], ...]])
22. in /var/www/cremea.lc/vendor/yiisoft/yii2/base/View.php at line 150 – yii\base\View::renderFile('/var/www/cremea.lc/vendor/yiisof...', ['panels' => ['config' => yii\debug\panels\ConfigPanel, 'request' => yii\debug\panels\RequestPanel, 'log' => yii\debug\panels\LogPanel, 'profiling' => yii\debug\panels\ProfilingPanel, ...], 'dataProvider' => yii\data\ArrayDataProvider, 'searchModel' => yii\debug\models\search\Debug, 'manifest' => ['58ca63676b59d' => ['tag' => '58ca63676b59d', 'url' => 'http://cremea.lc/admin/product/i...', 'ajax' => 0, 'method' => 'GET', ...], '58ca6362bf877' => ['tag' => '58ca6362bf877', 'url' => 'http://cremea.lc/admin/about/ind...', 'ajax' => 0, 'method' => 'GET', ...], '58ca635e4fe21' => ['tag' => '58ca635e4fe21', 'url' => 'http://cremea.lc/admin', 'ajax' => 0, 'method' => 'GET', ...], '58ca63563384c' => ['tag' => '58ca63563384c', 'url' => 'http://cremea.lc/admin/menus/men...', 'ajax' => 0, 'method' => 'GET', ...], ...]], yii\debug\controllers\DefaultController)
23. in /var/www/cremea.lc/vendor/yiisoft/yii2/base/Controller.php at line 378 – yii\base\View::render('index', ['panels' => ['config' => yii\debug\panels\ConfigPanel, 'request' => yii\debug\panels\RequestPanel, 'log' => yii\debug\panels\LogPanel, 'profiling' => yii\debug\panels\ProfilingPanel, ...], 'dataProvider' => yii\data\ArrayDataProvider, 'searchModel' => yii\debug\models\search\Debug, 'manifest' => ['58ca63676b59d' => ['tag' => '58ca63676b59d', 'url' => 'http://cremea.lc/admin/product/i...', 'ajax' => 0, 'method' => 'GET', ...], '58ca6362bf877' => ['tag' => '58ca6362bf877', 'url' => 'http://cremea.lc/admin/about/ind...', 'ajax' => 0, 'method' => 'GET', ...], '58ca635e4fe21' => ['tag' => '58ca635e4fe21', 'url' => 'http://cremea.lc/admin', 'ajax' => 0, 'method' => 'GET', ...], '58ca63563384c' => ['tag' => '58ca63563384c', 'url' => 'http://cremea.lc/admin/menus/men...', 'ajax' => 0, 'method' => 'GET', ...], ...]], yii\debug\controllers\DefaultController)
24. in /var/www/cremea.lc/vendor/yiisoft/yii2-debug/controllers/DefaultController.php at line 71 – yii\base\Controller::render('index', ['panels' => ['config' => yii\debug\panels\ConfigPanel, 'request' => yii\debug\panels\RequestPanel, 'log' => yii\debug\panels\LogPanel, 'profiling' => yii\debug\panels\ProfilingPanel, ...], 'dataProvider' => yii\data\ArrayDataProvider, 'searchModel' => yii\debug\models\search\Debug, 'manifest' => ['58ca63676b59d' => ['tag' => '58ca63676b59d', 'url' => 'http://cremea.lc/admin/product/i...', 'ajax' => 0, 'method' => 'GET', ...], '58ca6362bf877' => ['tag' => '58ca6362bf877', 'url' => 'http://cremea.lc/admin/about/ind...', 'ajax' => 0, 'method' => 'GET', ...], '58ca635e4fe21' => ['tag' => '58ca635e4fe21', 'url' => 'http://cremea.lc/admin', 'ajax' => 0, 'method' => 'GET', ...], '58ca63563384c' => ['tag' => '58ca63563384c', 'url' => 'http://cremea.lc/admin/menus/men...', 'ajax' => 0, 'method' => 'GET', ...], ...]])
$this->loadData($tag);
return $this->render('index', [ 'panels' => $this->module->panels,'dataProvider' => $dataProvider,'searchModel' => $searchModel,'manifest' => $this->getManifest(),//ошибка ]);
}
25. yii\debug\controllers\DefaultController::actionIndex()
26. in /var/www/cremea.lc/vendor/yiisoft/yii2/base/InlineAction.php at line 55 – call_user_func_array([yii\debug\controllers\DefaultController, 'actionIndex'], [])
27. in /var/www/cremea.lc/vendor/yiisoft/yii2/base/Controller.php at line 154 – yii\base\InlineAction::runWithParams([])
28. in /var/www/cremea.lc/vendor/yiisoft/yii2/base/Module.php at line 454 – yii\base\Controller::runAction('', [])
29. in /var/www/cremea.lc/vendor/yiisoft/yii2/web/Application.php at line 100 – yii\base\Module::runAction('debug', [])
30. in /var/www/cremea.lc/vendor/yiisoft/yii2/base/Application.php at line 375 – yii\web\Application::handleRequest(yii\web\Request)