Recently upgraded from 2.3.1 to 2.8.7 on a dev machine. All has been going fine until I needed to create a new table. Managed to generate the yml fine via doctrine:mapping:convert
When I come to create the getters and setters via doctrine:generate:entities I get this:
[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: chmod(): Operation not permitted
And nothing else. Which isn't very helpful. Is it a chmod which I need to add an @ to somewhere? I am executing the command as www-data and the log folder files are also www-data, so I don't believe it is a debug file permission issue.
Also, is it related to something which needs upgrading. Here is my composer file:
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.8.*",
"doctrine/orm": "2.5.*",
"doctrine/doctrine-bundle": "1.6.*",
"twig/extensions": "1.3.*",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"symfony/assetic-bundle": "~2.8",
"sensio/distribution-bundle": "~5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"snc/redis-bundle": "dev-master",
"predis/predis": "1.0.*",
"symfony/class-loader": "v2.8.*"
},
"require-dev": {
"sensio/generator-bundle": "~3.0",
"symfony/phpunit-bridge": "~2.7"
},
I just wish the debug was slightly more helpful in regards to what it was doing it at the time. Or what file/line the error occurred at.