![](/img/trans.png)
[英]Laravel php artisan config:cache and AWS S3 access error
[英]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.