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

Undefined index: bundle #43

Open
josephzhao opened this issue Oct 24, 2016 · 1 comment
Open

Undefined index: bundle #43

josephzhao opened this issue Oct 24, 2016 · 1 comment

Comments

@josephzhao
Copy link

when I configure everything and run composer update it show error

You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Loading composer repositories with package information
Updating dependencies (including require-dev)
Updating the "app/config/parameters.yml" file
Generating autoload files

Incenteev\ParameterHandler\ScriptHandler::buildParameters
Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache

[Symfony\Component\Debug\Exception\ContextErrorException]
Notice: Undefined index: bundle

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the symfony-scripts event terminated with an exception

[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:

[Symfony\Component\Debug\Exception\ContextErrorException]                
Notice: Undefined index: bundle                                    
@nigro64
Copy link

nigro64 commented Nov 1, 2016

Hello ! Also trying to bridge here :)
I can't explain why, still trying to understand how things work, but this should get rid of the error:

Comment this line in the bundle configuration:

entity_repositories:
...
#- { type: node, class: Application\Ekino\Bundle\DrupalBundle\Entity\Node\NodeRepository }

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

2 participants