http://z.cn/api/v1/order/delivery 一直报错
来源:14-7 测试发送模板消息
每天学一点点点
2019-04-06
http://z.cn/api/v1/order/delivery 一直报错
{msg: "内部错误!不想告诉你!", error_code: 999, request_url: "/api/v1/order/delivery"}
error_code: 999
msg: "内部错误!不想告诉你!"
request_url: "/api/v1/order/delivery"
我想咨询一下 如何调试啊! 以前的调试方法好像不行
2回答
-
7七月
2019-04-07
内部错误看不出来问题。这个课程不是详细讲解了调试么?或者你关闭这个错误隐藏,告诉我错误提示才能解决。这个个500错误肯定不知道是什么问题的。
042019-04-07 -
每天学一点点点
提问者
2019-04-06
br />
<font size='1'><table class='xdebug-error xe-uncaught-exception' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'Argument 1 passed to app\lib\exception\ExceptionHandler::render() must be an instance of think\Exception, instance of think\exception\HttpException given, called in D:\Server\xampp\htdocs\zerg\thinkphp\library\think\Error.php on line 47 and defined' in D:\Server\xampp\htdocs\zerg\application\lib\exception\ExceptionHandler.php on line <i>25</i></th></tr>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> think\exception\ErrorException: Argument 1 passed to app\lib\exception\ExceptionHandler::render() must be an instance of think\Exception, instance of think\exception\HttpException given, called in D:\Server\xampp\htdocs\zerg\thinkphp\library\think\Error.php on line 47 and defined in D:\Server\xampp\htdocs\zerg\application\lib\exception\ExceptionHandler.php on line <i>25</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0270</td><td bgcolor='#eeeeec' align='right'>1226880</td><td bgcolor='#eeeeec'>think\Error::appException( )</td><td title='D:\Server\xampp\htdocs\zerg\thinkphp\library\think\Error.php' bgcolor='#eeeeec'>..\Error.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0280</td><td bgcolor='#eeeeec' align='right'>1278216</td><td bgcolor='#eeeeec'>app\lib\exception\ExceptionHandler->render( )</td><td title='D:\Server\xampp\htdocs\zerg\thinkphp\library\think\Error.php' bgcolor='#eeeeec'>..\Error.php<b>:</b>47</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0280</td><td bgcolor='#eeeeec' align='right'>1278944</td><td bgcolor='#eeeeec'>think\Error::appError( )</td><td title='D:\Server\xampp\htdocs\zerg\thinkphp\library\think\Error.php' bgcolor='#eeeeec'>..\Error.php<b>:</b>25</td></tr>
</table></font>
{"msg":"内部错误!不想告诉你!","error_code":999,"request_url":"\/api\/v1\/order\/delivery"}00
相似问题