运行hyperf出现这样的信息,怎么解决。

PHP Notice: Object of class Swoole\Curl\Handler could not be converted to int in /Users/qiutangfeng/www/cloudmarket-hyperf/vendor/ezimuel/ringphp/src/Client/CurlHandler.php on line 109

Notice: Object of class Swoole\Curl\Handler could not be converted to int in /Users/qiutangfeng/www/cloudmarket-hyperf/vendor/ezimuel/ringphp/src/Client/CurlHandler.php on line 109
PHP Notice: Trying to access array offset on value of type null in @swoole-src/library/core/Curl/Handler.php on line 302

Notice: Trying to access array offset on value of type null in @swoole-src/library/core/Curl/Handler.php on line 302
PHP Notice: Object of class Swoole\Curl\Handler could not be converted to int in /Users/qiutangfeng/www/cloudmarket-hyperf/vendor/ezimuel/ringphp/src/Client/CurlHandler.php on line 118

Notice: Object of class Swoole\Curl\Handler could not be converted to int in /Users/qiutangfeng/www/cloudmarket-hyperf/vendor/ezimuel/ringphp/src/Client/CurlHandler.php on line 118
PHP Notice: Trying to access array offset on value of type null in @swoole-src/library/core/Curl/Handler.php on line 302

Notice: Trying to access array offset on value of type null in @swoole-src/library/core/Curl/Handler.php on line 302
PHP Notice: Object of class Swoole\Curl\Handler could not be converted to int in /Users/qiutangfeng/www/cloudmarket-hyperf/vendor/ezimuel/ringphp/src/Client/CurlHandler.php on line 118

Notice: Object of class Swoole\Curl\Handler could not be converted to int in /Users/qiutangfeng/www/cloudmarket-hyperf/vendor/ezimuel/ringphp/src/Client/CurlHandler.php on line 118

讨论数量: 9

升级 Swoole 版本

2年前 评论
李铭昕 2年前
ShamGod (楼主) 2年前
ShamGod (楼主) 2年前
李铭昕 2年前
ShamGod (楼主) 2年前

这种问题最蛋疼了,框架说不是我的问题,是swoole的锅!swoole不熟悉的,还是不要碰这种框架,尝尝鲜倒还可以. :joy:

2年前 评论

我也遇到了,swoole都升级到5.0了也开启了curl-native => enabled,还是不行,可能框架不是最新的?

1年前 评论

同样遇到 偶发 还无法复现file

7个月前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!