PHP Catchable fatal error

Posted 4 years ago by mvanemmerik

I'm receiving this error when I'm trying to move my Laravel project to another server. Any ideas?

-- [RuntimeException]
Error Output: PHP Catchable fatal error: Argument 1 passed to Illuminate\
Foundation\Application::detectEnvironment() must be an instance of Closure
, array given, called in /Users/mvanemmerik/song-list/bootstrap/environmen
t.php on line 18 and defined in /Users/mvanemmerik/song-list/vendor/larave
l/framework/src/Illuminate/Foundation/Application.php on line 290
PHP Stack trace:
PHP 1. {main}() /Users/mvanemmerik/song-list/artisan:0
PHP 2. require_once() /Users/mvanemmerik/song-list/artisan:30
PHP 3. require() /Users/mvanemmerik/song-list/bootstrap/start.php:27
PHP 4. Illuminate\Foundation\Application->detectEnvironment() /Users/mva


Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.