You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
!! PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "DoctrineBundle" from namespace "Doctrine\Bundle\DoctrineBundle".
...
!! PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "DoctrineCacheBundle" from namespace "Doctrine\Bundle\DoctrineCacheBundle".
Solved by adding the following packages to composer.json
When running php bin/console doctrine:migrations:migrate it says:
PHP Fatal error: Class 'Doctrine\DBAL\Migrations\AbstractMigration' not found in /Users/myuser/Sites/adr-blog/src/Migrations/Version20180526152815.php on line 11
Solved by changing:
# in src/Migrations/Version20180526152815.php
- use Doctrine\DBAL\Migrations\AbstractMigration;
+ use Doctrine\Migrations\AbstractMigration;
akserikawa
changed the title
Errors on composer install, doctrine dependencies missing from composer.json
Errors on composer install, missing dependencies in composer.json
Feb 1, 2019
Solved by adding the following packages to composer.json
Also,
composer install
throws another error due tosymfony/flex
version being outdatedThe text was updated successfully, but these errors were encountered: