Open fractalf opened 8 years ago
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
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.
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
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
Adding "symfony/symfony": "2.7.*"
in composer.json solved the issue in my case. Thanks @wingzero0
Ok. After composer update --no-dev I've working application. Thanks
Adding "symfony/http-kernel": "^2.8"
resolved the issue for me.
@dorogoy's soluton worked for me as well.
Adding "symfony/http-kernel": "^2.8" resolved the issue for me.
I can confirm adding
Adding "symfony/http-kernel": "^2.8" resolved the issue for me.
fixed it for me.
Adding "symfony/symfony": "2.7.*" in composer.json solved the issue in my case too.
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
This file seems to be missing
I followed the instructions here exactly: http://gaspaio.github.io/gearmanui/