国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

升級 1.4.7后,./webman腳本執(zhí)行出錯

banro512

升級命令

composer require workerman/webman-framework ^1.4.7 && composer require webman/console ^1.0.27

然后執(zhí)行 ./webman 或 ./webman install 等

./webman
PHP Fatal error:  Uncaught Error: Cannot use object of type Webman\Container as array in /www/wwwroot/xxx/webman:24
Stack trace:
#0 {main}
  thrown in /www/wwwroot/xxx/webman on line 24

Fatal error: Uncaught Error: Cannot use object of type Webman\Container as array in /www/wwwroot/xxx/webman:24
Stack trace:
#0 {main}
  thrown in /www/wwwroot/xxx/webman on line 24

Workerman version:4.1.1
webman-framework 1.4.7
PHP version:8.1.9

1498 1 0
1個回答

walkor 打賞

webman/console 用 v1.2.12 或者后續(xù)更高版本

  • banro512 2022-09-20

    可以了。
    不過直接用 composer require webman/console ^1.2.12 升級顯示成功了,composer.json 里版本也更新了,但執(zhí)行 ./webman 仍然報同樣錯誤。
    最后從 vendor/webman/ 里刪掉了 console 目錄,從 composer.json 刪掉了console信息,再安裝后可以了

年代過于久遠,無法發(fā)表回答
??