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

1.3.14升級到 1.5.2時遇到function get() on null錯誤

banro512

問題描述

很久沒升級了,打算升級下,執(zhí)行升級命令 composer require workerman/webman-framework ^1.4.7 && composer require webman/console ^1.2.12 && php webman install

程序代碼

composer require workerman/webman-framework ^1.4.7 && composer require webman/console ^1.2.12 && php webman install

報(bào)錯信息

PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /www/wwwroot/diancifaapi/vendor/workerman/webman-framework/src/support/Container.php:46
Stack trace:
#0 /www/wwwroot/diancifaapi/vendor/webman/console/src/Command.php(38): support\Container::__callStatic()
#1 /www/wwwroot/diancifaapi/vendor/webman/console/src/Command.php(13): Webman\Console\Command->installCommands()
#2 /www/wwwroot/diancifaapi/webman(17): Webman\Console\Command->installInternalCommands()
#3 {main}
  thrown in /www/wwwroot/diancifaapi/vendor/workerman/webman-framework/src/support/Container.php on line 46

截圖報(bào)錯信息里報(bào)錯文件相關(guān)代碼

/www/wwwroot/diancifaapi/vendor/workerman/webman-framework/src/support/Container.php
第46行代碼

 43     public static function __callStatic(string $name, array $arguments)
 44     {
 45         $plugin = \Webman\App::getPluginByClass($name);
 46         return static::instance($plugin)->{$name}(... $arguments);
 47     }

操作系統(tǒng)及workerman/webman等框架組件具體版本

composer鏡像已恢復(fù)官方默認(rèn)

centos7.8
webman 1.3.14

PHP 8.1.9 (cli) (built: Aug 9 2022 10:39:55) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.9, Copyright (c) Zend Technologies

1280 1 0
1個回答

walkor 打賞

如果有問題就重新創(chuàng)建一個項(xiàng)目,然后把業(yè)務(wù)目錄app拷貝進(jìn)去

  • 暫無評論
年代過于久遠(yuǎn),無法發(fā)表回答
??