akeneo / pim-community-dev

[Community Development Repository] The open source Product Information Management (PIM)
http://www.akeneo.com
Other
951 stars 516 forks source link

Uncaught exception 'Symfony\Component\Debug\Exception\ContextErrorException' #4742

Closed ghost closed 8 years ago

ghost commented 8 years ago

I'm reporting a Bug

I have just updated from 1.4.18 to the latest version 1.4.26 and I've seeing the following error.

I've cleared the caches, restarted apached as per #3461 https://github.com/akeneo/pim-community-dev/issues/3461 but I'm still seeing the error.

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\ContextErrorException' with message 'Catchable Fatal Error: Argument 6 passed to Pim\Component\Catalog\Updater\FamilyUpdater::__construct() must be an instance of Pim\Component\Catalog\Repository\AttributeRequirementRepositoryInterface, instance of Doctrine\ORM\EntityRepository given

arnolanglade commented 8 years ago

Hi Rich,

Do you overwrite that service?

ghost commented 8 years ago

No nothing is changed from the default installation.

ghost commented 8 years ago

I've sorted this. Rebooting the VM that Akeneo was on resolved the issue.