I had this problem. The magic solution by clearing the Doctrine metadata:
php app/console doctrine:cache:clear-metadata
EDIT: The symfony plugin's GitHub repository has a brief description of what to do when this problem occurs:
https://github.com/Haehnchen/idea-php-symfony2-plugin
Autofill (or something else) does not work! Help!
[...]
Many functions require app / cache / dev / appDevDebugProjectContainer.xml to exist. this is created when you load your application in a dev environment (open / app_dev.php in a browser or php app / console application).
Since my server is deleted by manually syncing the app/cache/dev/appDevDebugProjectContainer.xml
, I solved my problem.
When I was working on the local server, instead, the command I wrote above helped me perform auto-completion again.
source share