3
votes

I am trying to update Doctrine version and installing it from archives from Doctrine web site. After installation I have four folders:

  • Common
  • DBAL
  • ORM
  • Symfony

In the Doctrine folder.

And get an error:

Fatal error: Class 'Doctrine\Common\Cache\ArrayCache' not found in [ROOT_PATH]\Vendors\Doctrine\ORM\Tools\Setup.php on line 145

There is indeed no Cache folder in Common, though it did exist in the previous version of Doctrine I had.

I am not using Symfony nor Composer.

1

1 Answers

0
votes

I just used composer require symfony/cache and it works.