Dariel Pratama
Dariel Pratama

Reputation: 1675

laravel artisan error while clearing config cache

when I run php artisan cache:config the command throw the following error

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

I have no idea what causing this and how to fix it.

Upvotes: 1

Views: 524

Answers (1)

Dariel Pratama
Dariel Pratama

Reputation: 1675

it turns out that there is one suspicious file inside config folder, once it's deleted the artisan command works just fine again.

Upvotes: 4

Related Questions