issues
search
shi-yang
/
jnoj
Jiangnan Online Judge
https://www.jnoj.dev
Other
241
stars
62
forks
source link
yii\base\ErrorException: Trying to get property 'nickname' of non-object in /www/jnoj/views/solution/index.php:32
#4
Open
tdsoc2002
opened
6 years ago
tdsoc2002
commented
6 years ago
Stack trace:
0 /www/jnoj/views/solution/index.php(32): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/www/jnoj/views...', 32, Array)
1 [internal function]: yii\base\View->{closure}(Object(app\models\Solution), 32, 6, Object(yii\grid\DataColumn))
2 /www/jnoj/vendor/yiisoft/yii2/grid/DataColumn.php(230): call_user_func(Object(Closure), Object(app\models\Solution), 32, 6, Object(yii\grid\DataColumn))
3 /www/jnoj/vendor/yiisoft/yii2/grid/DataColumn.php(244): yii\grid\DataColumn->getDataCellValue(Object(app\models\Solution), 32, 6)
4 /www/jnoj/vendor/yiisoft/yii2/grid/Column.php(111): yii\grid\DataColumn->renderDataCellContent(Object(app\models\Solution), 32, 6)
5 /www/jnoj/vendor/yiisoft/yii2/grid/GridView.php(520): yii\grid\Column->renderDataCell(Object(app\models\Solution), 32, 6)
6 /www/jnoj/vendor/yiisoft/yii2/grid/GridView.php(489): yii\grid\GridView->renderTableRow(Object(app\models\Solution), 32, 6)
7 /www/jnoj/vendor/yiisoft/yii2/grid/GridView.php(353): yii\grid\GridView->renderTableBody()
8 /www/jnoj/vendor/yiisoft/yii2/widgets/BaseListView.php(160): yii\grid\GridView->renderItems()
9 /www/jnoj/vendor/yiisoft/yii2/grid/GridView.php(321): yii\widgets\BaseListView->renderSection('{items}')
10 /www/jnoj/vendor/yiisoft/yii2/widgets/BaseListView.php(135): yii\grid\GridView->renderSection('{items}')
11 [internal function]: yii\widgets\BaseListView->yii\widgets{closure}(Array)
12 /www/jnoj/vendor/yiisoft/yii2/widgets/BaseListView.php(138): preg_replace_callback('/{\w+}/', Object(Closure), '{items}{pager}')
13 /www/jnoj/vendor/yiisoft/yii2/grid/GridView.php(296): yii\widgets\BaseListView->run()
14 /www/jnoj/vendor/yiisoft/yii2/base/Widget.php(140): yii\grid\GridView->run()
15 /www/jnoj/views/solution/index.php(88): yii\base\Widget::widget(Array)
16 /www/jnoj/vendor/yiisoft/yii2/base/View.php(336): require('/www/jnoj/views...')
17 /www/jnoj/vendor/yiisoft/yii2/base/View.php(254): yii\base\View->renderPhpFile('/www/jnoj/views...', Array)
18 /www/jnoj/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/www/jnoj/views...', Array, Object(app\controllers\SolutionController))
19 /www/jnoj/vendor/yiisoft/yii2/base/Controller.php(384): yii\base\View->render('index', Array, Object(app\controllers\SolutionController))
20 /www/jnoj/controllers/SolutionController.php(45): yii\base\Controller->render('index', Array)
21 [internal function]: app\controllers\SolutionController->actionIndex()
22 /www/jnoj/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
23 /www/jnoj/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
24 /www/jnoj/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('index', Array)
25 /www/jnoj/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('solution/index', Array)
26 /www/jnoj/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
27 /www/jnoj/web/index.php(12): yii\base\Application->run()
28 {main}
Stack trace:
0 /www/jnoj/views/solution/index.php(32): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/www/jnoj/views...', 32, Array)
1 [internal function]: yii\base\View->{closure}(Object(app\models\Solution), 32, 6, Object(yii\grid\DataColumn))
2 /www/jnoj/vendor/yiisoft/yii2/grid/DataColumn.php(230): call_user_func(Object(Closure), Object(app\models\Solution), 32, 6, Object(yii\grid\DataColumn))
3 /www/jnoj/vendor/yiisoft/yii2/grid/DataColumn.php(244): yii\grid\DataColumn->getDataCellValue(Object(app\models\Solution), 32, 6)
4 /www/jnoj/vendor/yiisoft/yii2/grid/Column.php(111): yii\grid\DataColumn->renderDataCellContent(Object(app\models\Solution), 32, 6)
5 /www/jnoj/vendor/yiisoft/yii2/grid/GridView.php(520): yii\grid\Column->renderDataCell(Object(app\models\Solution), 32, 6)
6 /www/jnoj/vendor/yiisoft/yii2/grid/GridView.php(489): yii\grid\GridView->renderTableRow(Object(app\models\Solution), 32, 6)
7 /www/jnoj/vendor/yiisoft/yii2/grid/GridView.php(353): yii\grid\GridView->renderTableBody()
8 /www/jnoj/vendor/yiisoft/yii2/widgets/BaseListView.php(160): yii\grid\GridView->renderItems()
9 /www/jnoj/vendor/yiisoft/yii2/grid/GridView.php(321): yii\widgets\BaseListView->renderSection('{items}')
10 /www/jnoj/vendor/yiisoft/yii2/widgets/BaseListView.php(135): yii\grid\GridView->renderSection('{items}')
11 [internal function]: yii\widgets\BaseListView->yii\widgets{closure}(Array)
12 /www/jnoj/vendor/yiisoft/yii2/widgets/BaseListView.php(138): preg_replace_callback('/{\w+}/', Object(Closure), '{items}{pager}')
13 /www/jnoj/vendor/yiisoft/yii2/grid/GridView.php(296): yii\widgets\BaseListView->run()
14 /www/jnoj/vendor/yiisoft/yii2/base/Widget.php(140): yii\grid\GridView->run()
15 /www/jnoj/views/solution/index.php(88): yii\base\Widget::widget(Array)
16 /www/jnoj/vendor/yiisoft/yii2/base/View.php(336): require('/www/jnoj/views...')
17 /www/jnoj/vendor/yiisoft/yii2/base/View.php(254): yii\base\View->renderPhpFile('/www/jnoj/views...', Array)
18 /www/jnoj/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/www/jnoj/views...', Array, Object(app\controllers\SolutionController))
19 /www/jnoj/vendor/yiisoft/yii2/base/Controller.php(384): yii\base\View->render('index', Array, Object(app\controllers\SolutionController))
20 /www/jnoj/controllers/SolutionController.php(45): yii\base\Controller->render('index', Array)
21 [internal function]: app\controllers\SolutionController->actionIndex()
22 /www/jnoj/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
23 /www/jnoj/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
24 /www/jnoj/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('index', Array)
25 /www/jnoj/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('solution/index', Array)
26 /www/jnoj/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
27 /www/jnoj/web/index.php(12): yii\base\Application->run()
28 {main}