Hanson / vbot

微信,企微,机器人,企业微信,企微机器人,微信机器人,小红书,美团,美团爬虫,聚合聊天,RPA,协议,hook,逆向,群发,自动回复,chatgpt,API对接,稳定防封全语言通用,企业定制/SCRM/SAAS专用
MIT License
4.06k stars 711 forks source link

升级依赖之后,扫码之后出错 #252

Closed kency closed 5 years ago

kency commented 6 years ago

composer upgrade的时候自动remove了这个 Removing symfony/debug (v4.0.6) 而且composer提示 Package aferrandini/phpqrcode is abandoned, you should avoid using it. Use endroid/qr-code instead.

在Hanson\Vbot\Foundation\ExceptionHandler.php里用到了这两个类, use Symfony\Component\Debug\Exception\FatalErrorException; use Symfony\Component\Debug\Exception\FatalThrowableError; 导致运行的时候,扫码之后提示 thrown in /workspace/localsite/vbot/vendor/hanson/vbot/src/Core/Server.php on line 247

Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalErrorException: Uncaught Hanson\Vbot\Exceptions\InitFailException: Init failed. in /workspace/localsite/vbot/vendor/hanson/vbot/src/Core/Server.php:247

Hanson commented 6 years ago

如果是 Init failed ,可以尝试多几次

kency commented 6 years ago

好了,我手贱composer.json多了逗号

封issue