Support the ongoing development of Laravel.io →
Installation

Hi,

Yes - i know there's threads about this but I've tried just about everything. After upgrading to 4.1, every thing is working but Artisan. It doesn't give any errors, just doesn't run.

I've done the old school "echo everywhere", and it turns out to happen something in/just after this line:

$artisan = Illuminate\Console\Application::start($app);

What am I missing?

EDIT:

Like, always - once you ask you find the answer. For future readers this is what went wrong and how i fixed it. I added

ini_set('display_errors', 'On');
error_reporting(E_ALL);

in /artisan, and it turned out to be this error: Fatal error: Call to a member function add() on a non-object in /Applications/MAMP/htdocs/laravel/app/start/artisan.php on line 14

In my start/artisan.php i had

$artisan->add(...);

which should be Artisan::add(...); (static/facade-ish)

IDK how it ever worked, and I'm not sure how it got there since it's not in the documentation. Might be a typo from my part or from some tutorial somewhere.

Last updated 2 years ago.
0

problem solved

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.