簡體   English   中英

清除配置緩存時出現laravel工匠錯誤

[英]laravel artisan error while clearing config cache

當我運行php artisan cache:config命令時拋出以下錯誤

PHP Warning:  require(): Filename cannot be empty in /home/****/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 71
PHP Fatal error:  require(): Failed opening required '' (include_path='.:/usr/share/php') in /home/****/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 71

我不知道是什么導致了這個以及如何解決它。

結果發現 config 文件夾中有一個可疑文件,一旦它被刪除,artisan 命令又可以正常工作了。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM