Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel 4 Error: Undefined method shutdown

Help I am new to laravel and I dont know how to fix this Error:

FatalErrorException: Error: Call to undefined method Illuminate\Foundation\Application::shutdown()

enter image description here

like image 453
scrubmx Avatar asked Mar 11 '13 19:03

scrubmx


1 Answers

The problem is most likely you are using laravel the app from the github develop branch and using composer to install the rest of the system. The problem is the files from composer are over a month old (4.0.0-beta3) and the git stuff is bleeding edge.

One solution to this problem is to change the composer.json file in your application root from

    "require": {
            "laravel/framework": "4.0.*"
    },

to

    "require": {
            "laravel/framework": "4.0.*@dev"
    },

Run composer update and the system will pull down the latest and greatest (and possibly broken) files from Laravel 4.

like image 147
spryde Avatar answered Nov 15 '22 04:11

spryde