-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编辑用户资料时出现错误 slim application error #979
Labels
Comments
php xcat update |
@GeekQu 已经update了但是问题依旧,还是以上报错 |
@kkbbzjh 说明您在 您可查看
不存在的请前往 sql 目录下手动导入对应 |
tg bot关掉试试 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请将 [ ] 替换为 [x] 。Please relpace [ ] with [x] .
Environment 环境
Centos7,mysql5.7,php7.3,nginx1.17.9
Commit
The commit you on. 你当前的 SSPanel UIM 位于哪条 commit。
Bug
用户编辑出现错误,并无法编辑
Reproduce
在管理面板,找到任意用户,点:编辑
Logs
Slim Application Error
The application could not run because of the following error:
Details
Type: TypeError
Message: Return value of App\Models\User::last_detect_ban_time() must be of the type string, null returned
File: /www/wwwroot/xxxxxxx.com/src/Models/User.php
Line: 507
Trace
#0 /www/wwwroot/xxxxxxx.com/storage/framework/smarty/compile/be8d8e7768a830fd6728631b02bd18409f0835dc_0.file.edit.tpl.php(131): App\Models\User->last_detect_ban_time()
#1 /www/wwwroot/xxxxxxx.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5e715a0c55c090_84383820(Object(Smarty_Internal_Template))
#2 /www/wwwroot/xxxxxxx.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#3 /www/wwwroot/xxxxxxx.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#4 /www/wwwroot/xxxxxxx.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1)
#5 /www/wwwroot/xxxxxxx.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 1)
#6 /www/wwwroot/xxxxxxx.com/src/Controllers/Admin/UserController.php(309): Smarty_Internal_TemplateBase->display('admin/user/edit...')
#7 [internal function]: App\Controllers\Admin\UserController->edit(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#8 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#9 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#10 /www/wwwroot/xxxxxxx.com/src/Middleware/Admin.php(25): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#11 [internal function]: App\Middleware\Admin->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#12 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array(Object(App\Middleware\Admin), Array)
#13 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#14 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#15 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#16 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#17 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/App.php(503): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#18 /www/wwwroot/xxxxxxx.com/vendor/zeuxisoo/slim-whoops/src/Zeuxisoo/Whoops/Provider/Slim/WhoopsMiddleware.php(70): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#19 [internal function]: Zeuxisoo\Whoops\Provider\Slim\WhoopsMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#20 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array(Object(Zeuxisoo\Whoops\Provider\Slim\WhoopsMiddleware), Array)
#21 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#22 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#23 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#24 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#25 /www/wwwroot/xxxxxxx.com/vendor/slim/slim/Slim/App.php(297): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#26 /www/wwwroot/xxxxxxx.com/public/index.php(34): Slim\App->run()
#27 {main}
The text was updated successfully, but these errors were encountered: