composer安裝依賴完成后,直接運行webman,然后報錯
think/think-cache版本低了吧,composer require topthink/think-cache ^v2.0.6 試下
composer require topthink/think-cache ^v2.0.6
好的
版本還更改該不了,貌似受webman/think-cache約束了
看了下,沒有約束必須使用2.0
但官方就會報錯以上的錯誤呀
和你說了,你裝的 topthink/think-cache是2.0.0 太老了,最新的是裝2.0.6。 運行 composer require topthink/think-cache ^v2.0.6 來安裝2.0.6。 如果有依賴報錯,你又不會處理,你就發(fā)出報錯,大家教你處理
topthink/think-cache
確實是版本問題,我安裝think-orm 跟think-cache 都是低版本的,我是把webman的think插件卸載了,然后加個 -W 先下載最新think 包,然后再重新安裝webman的think插件解決的.
剛才用的php7.4的安裝的,現(xiàn)在安裝php8.0后,發(fā)現(xiàn)出現(xiàn)了ErrorException: Method ReflectionParameter::getClass() is deprecated
webman插件安裝的think包版本低了,按我上面說的弄就好了,就是先安裝最新think包, 再安裝webman的think插件