0
votes

I had a working Symfony2 application that uses several Sonata bundles (core, admin, doctrine-orm-admin, block). I have just pushed some revised code, and did a Composer update. Now, whilst app_dev.php seems to work fine, when I access the production version via app.php, I get an error;

Failed opening required 'vendor/sonata-project/easy-extends-bundle/Sonata/EasyExtendsBundle/SonataEasyExtendsBundle.php'

Looking in the vendors directory, the SonataEasyExtendsBundle.php is there, but it is in vendor/sonata-project/easy-extends-bundle, rather than in vendor/sonata-project/easy-extends-bundle/Sonata/EasyExtendsBundle/

Any ideas?

1
Have you checked appKernel.php to see where that is pointing?OrderAndChaos
Yep - everything looked right.Andrew Battye

1 Answers

0
votes

After much puzzling - it turned out to the APC cache. Clearing that resolved the issue. Doh.