Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Interface 'Symfony\Component\HttpKernel\Log\LoggerInterface' not found.. #13

Open
fractalf opened this issue Dec 7, 2015 · 10 comments

Comments

@fractalf
Copy link

fractalf commented Dec 7, 2015

This file seems to be missing

./vendor/symfony/http-kernel/Log/LoggerInterface.php

I followed the instructions here exactly:
http://gaspaio.github.io/gearmanui/

@wingzero0
Copy link

I got the same error

PHP Fatal error:  Interface 'Symfony\\Component\\HttpKernel\\Log\\LoggerInterface' not found in MyWebRoot/vendor/symfony/monolog-bridge/Logger.php on line 23

@wingzero0
Copy link

It seems that it is missing the symfony component in composer.json.

I tried to add an entry "symfony/symfony": "2.7.*" in composer.json, the dependence issues is fixed. But the routing is still wrong.

@ghost
Copy link

ghost commented Feb 7, 2016

Have same error

Fatal error: Interface 'Symfony\Component\HttpKernel\Log\LoggerInterface' not found in /var/www/gearman-ui/vendor/symfony/monolog-bridge/Logger.php on line 23
Call Stack

Time Memory Function Location

1 0.0001 229736 {main}( ) ../index.php:0
2 0.0011 308728 GearmanUI\GearmanUIApplication->__construct( ) ../index.php:7
3 0.0017 333008 Silex\Application->register( ) ../GearmanUIApplication.php:39
4 0.0018 333384 Silex\Provider\MonologServiceProvider->register( ) ../Application.php:178
5 0.0018 334136 class_exists ( ) ../MonologServiceProvider.php:34
6 0.0018 334432 spl_autoload_call ( ) ../MonologServiceProvider.php:34
7 0.0018 334480 Composer\Autoload\ClassLoader->loadClass( ) ../MonologServiceProvider.php:0
8 0.0019 334608 Composer\Autoload\includeFile( ) ../ClassLoader.php:301
9 0.0019 338368 include( '/var/www/gearman-ui/vendor/symfony/monolog-bridge/Logger.php' ) ../ClassLoader.php:412

@tomaszpolska
Copy link

Adding "symfony/symfony": "2.7.*" in composer.json solved the issue in my case. Thanks @wingzero0

@ghost
Copy link

ghost commented Feb 8, 2016

Ok. After
composer update --no-dev
I've working application.
Thanks

@dorogoy
Copy link

dorogoy commented Feb 10, 2016

Adding "symfony/http-kernel": "^2.8" resolved the issue for me.

@kartrocket
Copy link

@dorogoy's soluton worked for me as well.

Adding "symfony/http-kernel": "^2.8" resolved the issue for me.

@projectivemotion
Copy link

I can confirm adding

Adding "symfony/http-kernel": "^2.8" resolved the issue for me.

fixed it for me.

@jasonbronson
Copy link

Adding "symfony/symfony": "2.7.*" in composer.json solved the issue in my case too.

@pailjin
Copy link

pailjin commented Apr 10, 2016

Adding "symfony/symfony": "2.7.*" in composer.json solved the issue in my case.
but in china, it is better to add mirror :
with command :
composer config repo.packagist composer https://packagist.phpcomposer.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants