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

Call to undefined method BooleanNodeDefinition::info() #71

Open
ujhgj opened this issue Oct 15, 2012 · 3 comments
Open

Call to undefined method BooleanNodeDefinition::info() #71

ujhgj opened this issue Oct 15, 2012 · 3 comments

Comments

@ujhgj
Copy link

ujhgj commented Oct 15, 2012

I got this, when tried to install vendors.
Symfony 2.0.17

PHP Fatal error: Call to undefined method Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition::info() in /var/www/kairos/vendor/bundles/JMS/I18nRoutingBundle/DependencyInjection/Configuration.php on line 104
PHP Stack trace:
PHP 1. {main}() /var/www/kairos/app/console:0
PHP 2. Symfony\Component\Console\Application->run() /var/www/kairos/app/console:16
PHP 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/kairos/vendor/symfony/src/Symfony/Component/Console/Application.php:118
PHP 4. Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands() /var/www/kairos/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:67
PHP 5. Symfony\Component\HttpKernel\Kernel->boot() /var/www/kairos/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:81
PHP 6. Symfony\Component\HttpKernel\Kernel->initializeContainer() /var/www/kairos/app/bootstrap.php.cache:517
PHP 7. Symfony\Component\HttpKernel\Kernel->buildContainer() /var/www/kairos/app/bootstrap.php.cache:783
PHP 8. Symfony\Component\DependencyInjection\ContainerBuilder->compile() /var/www/kairos/app/bootstrap.php.cache:872
PHP 9. Symfony\Component\DependencyInjection\Compiler\Compiler->compile() /var/www/kairos/vendor/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:436
PHP 10. Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process() /var/www/kairos/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php:119
PHP 11. Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process() /var/www/kairos/vendor/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/MergeExtensionConfigurationPass.php:39
PHP 12. JMS\I18nRoutingBundle\DependencyInjection\JMSI18nRoutingExtension->load() /var/www/kairos/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php:42
PHP 13. Symfony\Component\Config\Definition\Processor->processConfiguration() /var/www/kairos/vendor/bundles/JMS/I18nRoutingBundle/DependencyInjection/JMSI18nRoutingExtension.php:37
PHP 14. JMS\I18nRoutingBundle\DependencyInjection\Configuration->getConfigTreeBuilder() /var/www/kairos/vendor/symfony/src/Symfony/Component/Config/Definition/Processor.php:52

@schmittjoh
Copy link
Owner

Which version of this bundle are you using?

On Mon, Oct 15, 2012 at 10:54 AM, ujhgj notifications@github.com wrote:

I got this, when tried to install vendors.
Symfony 2.0.17

PHP Fatal error: Call to undefined method
Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition::info()
in
/var/www/kairos/vendor/bundles/JMS/I18nRoutingBundle/DependencyInjection/Configuration.php
on line 104
PHP Stack trace:
PHP 1. {main}() /var/www/kairos/app/console:0
PHP 2. Symfony\Component\Console\Application->run()
/var/www/kairos/app/console:16
PHP 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun()
/var/www/kairos/vendor/symfony/src/Symfony/Component/Console/Application.php:118
PHP 4.
Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands()
/var/www/kairos/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:67
PHP 5. Symfony\Component\HttpKernel\Kernel->boot()
/var/www/kairos/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:81
PHP 6. Symfony\Component\HttpKernel\Kernel->initializeContainer()
/var/www/kairos/app/bootstrap.php.cache:517
PHP 7. Symfony\Component\HttpKernel\Kernel->buildContainer()
/var/www/kairos/app/bootstrap.php.cache:783
PHP 8. Symfony\Component\DependencyInjection\ContainerBuilder->compile()
/var/www/kairos/app/bootstrap.php.cache:872
PHP 9. Symfony\Component\DependencyInjection\Compiler\Compiler->compile()
/var/www/kairos/vendor/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:436
PHP 10.
Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process()
/var/www/kairos/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php:119
PHP 11.
Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process()
/var/www/kairos/vendor/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/MergeExtensionConfigurationPass.php:39
PHP 12.
JMS\I18nRoutingBundle\DependencyInjection\JMSI18nRoutingExtension->load()
/var/www/kairos/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php:42
PHP 13.
Symfony\Component\Config\Definition\Processor->processConfiguration()
/var/www/kairos/vendor/bundles/JMS/I18nRoutingBundle/DependencyInjection/JMSI18nRoutingExtension.php:37
PHP 14.
JMS\I18nRoutingBundle\DependencyInjection\Configuration->getConfigTreeBuilder()
/var/www/kairos/vendor/symfony/src/Symfony/Component/Config/Definition/Processor.php:52


Reply to this email directly or view it on GitHubhttps://github.com//issues/71.

@ujhgj
Copy link
Author

ujhgj commented Oct 15, 2012

The latest. This one: "dev-master": "1.1-dev".
In my deps I use simple definition:

[JMSI18nRoutingBundle]
git=https://github.com/schmittjoh/JMSI18nRoutingBundle.git
target=bundles/JMS/I18nRoutingBundle

I don't mind to use older version (cause that one, I had previous, worked fine), but I aint sure how to describe the version of this bundle in deps.

@stof
Copy link

stof commented Oct 15, 2012

@ujhgj add version=1.0.0 in your deps file for this bundle, to use the 1.0.0 tag. The master rbanch requires 2.1+

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

3 participants