发现
问答
发起
提问
文章
文章
更多
专家
讲堂
话题
财富榜
商城
Toggle navigation
首页
(current)
问答
文章
讲堂
话题
商城
搜索
登录
注册
5
自己搭的系统,点击热门作者的时候报这个错,哪位大神帮我看看
ErrorException in
9fb552b7a2a5c1b27679567fb3a20f45 line 40
:
get_class() expects parameter 1 to be object, null given
in
9fb552b7a2a5c1b27679567fb3a20f45 line 40
at HandleExceptions->handleError('2', 'get_class() expects parameter 1 to be object, null given', 'C:\xampp\htdocs\tipask-3.2.1\storage\framework\views\9fb552b7a2a5c1b27679567fb3a20f45', '40',
array
('__path' => 'C:\xampp\htdocs\tipask-3.2.1\storage\framework\views/9fb552b7a2a5c1b27679567fb3a20f45', '__data' =>
array
('__env' =>
object
(Factory), 'app' =>
object
(Application), 'errors' =>
object
(ViewErrorBag), 'users' =>
object
(Collection)), 'obLevel' => '1', '__env' =>
object
(Factory), 'app' =>
object
(Application), 'errors' =>
object
(ViewErrorBag), 'users' =>
object
(Collection), 'user' =>
object
(UserData), 'index' => '1')) in
9fb552b7a2a5c1b27679567fb3a20f45 line 40
at include('C:\xampp\htdocs\tipask-3.2.1\storage\framework\views\9fb552b7a2a5c1b27679567fb3a20f45') in
PhpEngine.php line 42
at PhpEngine->evaluatePath('C:\xampp\htdocs\tipask-3.2.1\storage\framework\views/9fb552b7a2a5c1b27679567fb3a20f45',
array
('__env' =>
object
(Factory), 'app' =>
object
(Application), 'errors' =>
object
(ViewErrorBag), 'users' =>
object
(Collection))) in
CompilerEngine.php line 58
at CompilerEngine->get('C:\xampp\htdocs\tipask-3.2.1/resources/views/themes/default/top/articles.blade.php',
array
('__env' =>
object
(Factory), 'app' =>
object
(Application), 'errors' =>
object
(ViewErrorBag), 'users' =>
object
(Collection))) in
View.php line 147
at View->getContents() in
View.php line 118
at View->renderContents() in
View.php line 83
at View->render() in
Response.php line 51
at Response->setContent(
object
(View)) in
Response.php line 202
at Response->__construct(
object
(View)) in
Router.php line 1229
at Router->prepareResponse(
object
(Request),
object
(View)) in
ControllerDispatcher.php line 112
at ControllerDispatcher->Illuminate\Routing\{closure}(
object
(Request))
at call_user_func(
object
(Closure),
object
(Request)) in
Pipeline.php line 139
at Pipeline->Illuminate\Pipeline\{closure}(
object
(Request))
at call_user_func(
object
(Closure),
object
(Request)) in
Pipeline.php line 102
at Pipeline->then(
object
(Closure)) in
ControllerDispatcher.php line 114
at ControllerDispatcher->callWithinStack(
object
(TopController),
object
(Route),
object
(Request), 'articles') in
ControllerDispatcher.php line 68
at ControllerDispatcher->dispatch(
object
(Route),
object
(Request), 'App\Http\Controllers\Account\TopController', 'articles') in
Route.php line 203
at Route->runWithCustomDispatcher(
object
(Request)) in
Route.php line 134
at Route->run(
object
(Request)) in
Router.php line 708
at Router->Illuminate\Routing\{closure}(
object
(Request))
at call_user_func(
object
(Closure),
object
(Request)) in
Pipeline.php line 139
at Pipeline->Illuminate\Pipeline\{closure}(
object
(Request))
at call_user_func(
object
(Closure),
object
(Request)) in
Pipeline.php line 102
at Pipeline->then(
object
(Closure)) in
Router.php line 710
at Router->runRouteWithinStack(
object
(Route),
object
(Request)) in
Router.php line 674
at Router->dispatchToRoute(
object
(Request)) in
Router.php line 635
at Router->dispatch(
object
(Request)) in
Kernel.php line 236
at Kernel->Illuminate\Foundation\Http\{closure}(
object
(Request))
at call_user_func(
object
(Closure),
object
(Request)) in
Pipeline.php line 139
at Pipeline->Illuminate\Pipeline\{closure}(
object
(Request)) in
VerifyCsrfToken.php line 50
at VerifyCsrfToken->handle(
object
(Request),
object
(Closure))
at call_user_func_array(
array
(
object
(VerifyCsrfToken), 'handle'),
array
(
object
(Request),
object
(Closure))) in
Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(
object
(Request)) in
ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(
object
(Request),
object
(Closure))
at call_user_func_array(
array
(
object
(ShareErrorsFromSession), 'handle'),
array
(
object
(Request),
object
(Closure))) in
Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(
object
(Request)) in
StartSession.php line 62
at StartSession->handle(
object
(Request),
object
(Closure))
at call_user_func_array(
array
(
object
(StartSession), 'handle'),
array
(
object
(Request),
object
(Closure))) in
Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(
object
(Request)) in
AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(
object
(Request),
object
(Closure))
at call_user_func_array(
array
(
object
(AddQueuedCookiesToResponse), 'handle'),
array
(
object
(Request),
object
(Closure))) in
Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(
object
(Request)) in
EncryptCookies.php line 59
at EncryptCookies->handle(
object
(Request),
object
(Closure))
at call_user_func_array(
array
(
object
(EncryptCookies), 'handle'),
array
(
object
(Request),
object
(Closure))) in
Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(
object
(Request)) in
CheckForMaintenanceMode.php line 44
at CheckForMaintenanceMode->handle(
object
(Request),
object
(Closure))
at call_user_func_array(
array
(
object
(CheckForMaintenanceMode), 'handle'),
array
(
object
(Request),
object
(Closure))) in
Pipeline.php line 124
at Pipeline->Illuminate\Pipeline\{closure}(
object
(Request))
at call_user_func(
object
(Closure),
object
(Request)) in
Pipeline.php line 102
at Pipeline->then(
object
(Closure)) in
Kernel.php line 122
at Kernel->sendRequestThroughRouter(
object
(Request)) in
Kernel.php line 87
at Kernel->handle(
object
(Request)) in
index.php line 53
2 条评论
分类:
bug反馈
请先
登录
后评论
最佳答案
2018-03-24 10:00
0 条评论
0
请先
登录
后评论
tomorrow。╰つ
采纳率 100% | 回答于 2018-03-23 12:39
默认排序
时间排序
其它 1 个回答
ing
2018-12-13 10:40
???我也报这个错了,本地测试没问题,线上报错。
请先
登录
后评论
您需要登录后才可以回答问题,
登录
或者
注册
关注
2
关注
收藏
0
收藏,
4562
浏览
oiwuliang
提出于 2018-03-16 19:48
相似问题
×
发送私信
发给:
内容:
×
举报此文章
垃圾广告信息:
广告、推广、测试等内容
违规内容:
色情、暴力、血腥、敏感信息等内容
不友善内容:
人身攻击、挑衅辱骂、恶意行为
其他原因:
请补充说明
举报原因: