I've inherited an old Symfony 2.1 project and having issues getting it up and running - I don't really have the time or budget to go through and upgrade it to something a bit more modern.
When trying to run php app/console I get the following error message:
[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
The service definition "kernel.debug" does not exist.
I've been going round in circles trying to find the cause but can't seem to resolve it - any pointers or help would be great.
Try
grep -r 'kernel.debug' app/to locate where it's being used. Make sure that the provided code was working with a suppliedvendor/directory, or you have the result of runningcomposer installnowadays. You can even rename thevendor/directory (as a kind of quick backup, regardless any other you may have) and runcomposer installto get rid of other possible inconsistencies.