我正在嘗試從 5.2 升級(jí) laravel 5.3,但我不斷在日志文件中看到這兩個(gè)錯(cuò)誤:Symfony\Component\Debug\Exception\FatalErrorException: Uncaught Error: Call to undefined method Illuminate\Auth\Access\Gate::abilities() in /Users/rohan0793/Code/poptin_v3/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:237和這個(gè):Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method Illuminate\Log\Writer::setHandlers() in Command line code:1全棧輸出:[2020-08-13 08:26:58] local.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Uncaught Error: Call to undefined method Illuminate\Auth\Access\Gate::abilities() in /Users/rohan0793/Code/poptin_v3/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:237Stack trace:#0 Command line code(1): Illuminate\Support\Facades\Facade::__callStatic('abilities', Array)#1 {main} thrown in /Users/rohan0793/Code/poptin_v3/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:237[2020-08-13 08:26:58] local.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method Illuminate\Log\Writer::setHandlers() in Command line code:1Stack trace:我不知道這些來(lái)自哪里以及如何解決它們。更新:我每分鐘 41 秒都會(huì)看到這些錯(cuò)誤。示例13:35:41 但是根據(jù)我在 homestead 的 crontab,我沒(méi)有安排任何 crons更新 2: https: //github.com/Illuminate/auth/blob/5.5/Access/Gate.php 5.5 中提供了能力方法。但我還是5.3。很奇怪,但我不知道是什么在調(diào)用該代碼。也許是第三方包。
嘗試升級(jí)到 laravel 5.3,但我一直看到錯(cuò)誤“調(diào)用未定義的方法 Illuminate
30秒到達(dá)戰(zhàn)場(chǎng)
2023-10-01 15:57:47