Skip to content
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

大佬们,我这怎么已扫码就报错啊 #286

Open
YunMengs opened this issue Apr 4, 2019 · 4 comments
Open

大佬们,我这怎么已扫码就报错啊 #286

YunMengs opened this issue Apr 4, 2019 · 4 comments

Comments

@YunMengs
Copy link

YunMengs commented Apr 4, 2019

一扫码就报错,我就是按照官网配置的 http://create.hanc.cc/vbot/docs/run.html
还有这sessionID怎么拿啊。。
vbot.ERROR: Too few arguments to function Illuminate\Redis\RedisManager::__construct(), 2 passed in /root/vbot/vendor/hanson/vbot/src/Foundation/ServiceProviders/CacheServiceProvider.php on line 31 and exactly 3 expected [] []
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Hanson\Vbot\Foundation\ExceptionHandler::report() must be an instance of Exception, instance of ArgumentCountError given, called in /root/vbot/vendor/hanson/vbot/src/Foundation/ExceptionHandler.php on line 133 and defined in /root/vbot/vendor/hanson/vbot/src/Foundation/ExceptionHandler.php:58
Stack trace:
#0 /root/vbot/vendor/hanson/vbot/src/Foundation/ExceptionHandler.php(133): Hanson\Vbot\Foundation\ExceptionHandler->report(Object(ArgumentCountError))
#1 [internal function]: Hanson\Vbot\Foundation\ExceptionHandler->handleException(Object(ArgumentCountError))
#2 {main}
thrown in /root/vbot/vendor/hanson/vbot/src/Foundation/ExceptionHandler.php on line 58
PHP Fatal error: Uncaught Error: Class 'Symfony\Component\Debug\Exception\FatalErrorException' not found in /root/vbot/vendor/hanson/vbot/src/Foundation/ExceptionHandler.php:180
Stack trace:
#0 /root/vbot/vendor/hanson/vbot/src/Foundation/ExceptionHandler.php(164): Hanson\Vbot\Foundation\ExceptionHandler->fatalExceptionFromError(Array, 0)
#1 [internal function]: Hanson\Vbot\Foundation\ExceptionHandler->handleShutdown()
#2 {main}
thrown in /root/vbot/vendor/hanson/vbot/src/Foundation/ExceptionHandler.php on line 180
1

@Lichmaker
Copy link

session id是自动生成的,不是必填项。

你是在laravel中运行的吗?
Too few arguments to function Illuminate\Redis\RedisManager::__construct()
可以看出是版本问题导致的

@Lichmaker
Copy link

可以参考一下这个issues,一样的问题#266

@legeng
Copy link

legeng commented Apr 21, 2019

按照#266的改了代码也还是报错啊,laravel 5.8

@ld-wang
Copy link

ld-wang commented Apr 25, 2019

PHP Fatal error: Uncaught Error: Class 'Symfony\Component\Debug\Exception\FatalErrorException'

缺少类文件, 需要安装symfony/debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants