讨论 Bug反馈 blog系统由8.0升级到8.1后又无法访问

blog系统由8.0升级到8.1后又无法访问

fei8 发表于    阅读:398    回复:4

问题描述:

刚刚将blog网站由8.0升级到8.1,又出现之前到无法访问情况,提示500服务器出错!

按照之前的解决方法,已经将log文件夹里的文件删除,再访问,重新获取的文件内容如下:

[2023-08-30 23:37:57] beta.ERROR: exception 'ErrorException' with message 'Array to string conversion' in /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/FileLoader.php:109

Stack trace:

#0 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/FileLoader.php(109): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Array to string...', '/www/wwwroot/Mo...', 109, Array)

#1 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/FileLoader.php(54): Illuminate\Translation\FileLoader->loadPath('/www/wwwroot/Mo...', Array, 'base')

#2 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/Translator.php(235): Illuminate\Translation\FileLoader->load(Array, 'base', '*')

#3 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/Translator.php(98): Illuminate\Translation\Translator->load('*', 'base', Array)

#4 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/Translator.php(200): Illuminate\Translation\Translator->get('base.Site Manag...', Array, Array)

#5 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(695): Illuminate\Translation\Translator->trans('base.Site Manag...', Array, 'messages', Array)

#6 /www/wwwroot/ModStartBlog/vendor/modstart/modstart/src/helpers.php(466): trans('base.Site Manag...', Array, 'messages', Array)

#7 /www/wwwroot/ModStartBlog/module/SmsTecmz/Core/ModuleServiceProvider.php(25): L('Site Manage')

#8 [internal function]: Module\SmsTecmz\Core\ModuleServiceProvider->boot(Object(Illuminate\Events\Dispatcher))

#9 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Container/Container.php(507): call_user_func_array(Array, Array)

#10 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(734): Illuminate\Container\Container->call(Array)

#11 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(717): Illuminate\Foundation\Application->bootProvider(Object(Module\SmsTecmz\Core\ModuleServiceProvider))

#12 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(Module\SmsTecmz\Core\ModuleServiceProvider), 40)

#13 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(718): array_walk(Array, Object(Closure))

#14 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()

#15 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(203): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application))

#16 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(222): Illuminate\Foundation\Application->bootstrapWith(Array)

#17 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(117): Illuminate\Foundation\Http\Kernel->bootstrap()

#18 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(87): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))

#19 /www/wwwroot/ModStartBlog/public/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))

#20 {main}  

环境信息:

PHP版本、系统版本、模块版本等

复现步骤:

1

2

3

建议与意见:

1 希望后续升级版本不要再出现这种升级就提示500的情况!

2

3

评论

程序应该是没有问题的,请联系我们一下远程看下。

 

@ModStart: 请问是联系QQ吗?

 

@fei8: 是的

 

@ModStart: 已处理,恢复正常了,谢谢!

 
1
我来评论
QQ
微信
客服