We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PHP 版本:5.6.25 overtrue/wechat 版本:3.1.8
laravel5.3版本,开放平台接收ComponentVerifyTicket,会出现Undefined index: FromUserName
描述你的问题现象,报错贴截图粘贴或者贴具体信息,提供必要的代码段
开放平台接收ComponentVerifyTicket 2017-03-27 17:45:19] local.INFO: postStr:
[2017-03-27 17:45:19] local.ERROR: exception 'ErrorException' with message 'Undefined index: FromUserName' in /vendor/overtrue/wechat/src/Server/Guard.php:374 Stack trace: #0 /vendor/overtrue/wechat/src/Server/Guard.php(374): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined index...', '/www/wwwroot/ca...', 374, Array) #1 /vendor/overtrue/wechat/src/Server/Guard.php(157): EasyWeChat\Server\Guard->handleRequest() #2 /Http/Controllers/Modules/Open/TickController.php(46): EasyWeChat\Server\Guard->serve() #3 [internal function]: App\Http\Controllers\Modules\Open\TickController->ticket(Object(Illuminate\Http\Request)) #4 /vendor/laravel/framework/src/Illuminate/Routing/Controller.php(55): call_user_func_array(Array, Array) #5 /vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(44): Illuminate\Routing\Controller->callAction('ticket', Array) #6 /vendor/laravel/framework/src/Illuminate/Routing/Route.php(190): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(App\Http\Controllers\Modules\Open\TickController), 'ticket') #7 /vendor/laravel/framework/src/Illuminate/Routing/Route.php(144): Illuminate\Routing\Route->runController() #8 /vendor/laravel/framework/src/Illuminate/Routing/Router.php(653): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request)) #9 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Routing\Router->Illuminate\Routing{closure}(Object(Illuminate\Http\Request)) #10 /vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))
The text was updated successfully, but these errors were encountered:
@mingyoung
Sorry, something went wrong.
@cnvcanson 拉 master 版本代码试试 "overtrue/wechat": "dev-master"
"overtrue/wechat": "dev-master"
No branches or pull requests
我用的环境
PHP 版本:5.6.25
overtrue/wechat 版本:3.1.8
问题及现象
laravel5.3版本,开放平台接收ComponentVerifyTicket,会出现Undefined index: FromUserName
描述你的问题现象,报错贴截图粘贴或者贴具体信息,提供必要的代码段
开放平台接收ComponentVerifyTicket
2017-03-27 17:45:19] local.INFO: postStr:
[2017-03-27 17:45:19] local.ERROR: exception 'ErrorException' with message 'Undefined index: FromUserName' in /vendor/overtrue/wechat/src/Server/Guard.php:374
Stack trace:
#0 /vendor/overtrue/wechat/src/Server/Guard.php(374): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined index...', '/www/wwwroot/ca...', 374, Array)
#1 /vendor/overtrue/wechat/src/Server/Guard.php(157): EasyWeChat\Server\Guard->handleRequest()
#2 /Http/Controllers/Modules/Open/TickController.php(46): EasyWeChat\Server\Guard->serve()
#3 [internal function]: App\Http\Controllers\Modules\Open\TickController->ticket(Object(Illuminate\Http\Request))
#4 /vendor/laravel/framework/src/Illuminate/Routing/Controller.php(55): call_user_func_array(Array, Array)
#5 /vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(44): Illuminate\Routing\Controller->callAction('ticket', Array)
#6 /vendor/laravel/framework/src/Illuminate/Routing/Route.php(190): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(App\Http\Controllers\Modules\Open\TickController), 'ticket')
#7 /vendor/laravel/framework/src/Illuminate/Routing/Route.php(144): Illuminate\Routing\Route->runController()
#8 /vendor/laravel/framework/src/Illuminate/Routing/Router.php(653): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#9 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Routing\Router->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))
#10 /vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))
The text was updated successfully, but these errors were encountered: