I installed a symfony 3 project but cant run any php bin/console commands. When I try, I get the following error:
PHP Fatal error: Uncaught Symfony\\Comp
After hours of looking for solutions I checked the php packages that I had installed and realized that php-xml was not there.
sudo apt install php-xml
Now it works :)