framework icon indicating copy to clipboard operation
framework copied to clipboard

[Bug] Interface 'Symfony\Component\HttpKernel\HttpKernelInterface' not found

Open Anahkiasen opened this issue 13 years ago • 9 comments

Latest updates to Symfony brought this exception :

( ! ) Fatal error: Interface 'Symfony\Component\HttpKernel\HttpKernelInterface' not found in /Applications/MAMP/htdocs/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php on line 23
Call Stack
#   Time    Memory  Function    Location
1   0.0001  257328  {main}( )   ../index.php:0
2   0.2035  444296  require_once( '/Applications/MAMP/htdocs/app/start.php' )   ../index.php:37
3   0.2035  444752  Composer\Autoload\ClassLoader->loadClass( ) ../index.php:0
4   0.2039  505416  include( '/Applications/MAMP/htdocs/app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php' )

Fresh install, fresh and latest composer packages. Don't know if it's a bug on Laravel's end or a change in Symfony's packages classes.

Anahkiasen avatar Feb 05 '13 17:02 Anahkiasen

+1. Appeared today

intval avatar Feb 05 '13 17:02 intval

Apparently it's fixed, will try it out and close if everything works.

Anahkiasen avatar Feb 05 '13 18:02 Anahkiasen

Yep, works perfectly now.

intval avatar Feb 05 '13 18:02 intval

I have this exact error, today. I spend a day running composer updates, but no fix yet. Anybody got a clue what is happening / how I can figure this out? It seems the symfony/http-kernel isn't installed by composer?

PanMan avatar Mar 27 '15 14:03 PanMan

I'm also getting this issue as well screen shot 2015-04-08 at 11 42 12 pm

thomaskbird avatar Apr 09 '15 03:04 thomaskbird

I'm also have this issue. iqv9yy8gthgilupxl3acfxxffssd7lxz71dtnbhf8gs

iuliansafta avatar Apr 09 '15 06:04 iuliansafta

@ThomasBird1984 I found a solution, try to update composer (php composer.phar self-update). Now works pefectly.

iuliansafta avatar Apr 09 '15 07:04 iuliansafta

I spend literally a few days debugging this. In the end restarting my terminal solved it: Probably some environment var that got messed up. I'd try that :). Or checking out the repo elsewhere, see if that works.

PanMan avatar Apr 09 '15 09:04 PanMan

@iuliansafta I did what you said and initially it didn't work I kept getting that same error, but after a second attempt it worked perfectly. Odd, still not exactly sure what caused the break nor the fix but thanks because it finally worked!!!

thomaskbird avatar Apr 09 '15 15:04 thomaskbird