运行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
升级 Swoole 版本
这种问题最蛋疼了,框架说不是我的问题,是swoole的锅!swoole不熟悉的,还是不要碰这种框架,尝尝鲜倒还可以. :joy:
我也遇到了,swoole都升级到5.0了也开启了curl-native => enabled,还是不行,可能框架不是最新的?
同样遇到 偶发 还无法复现