0

I cannot get rid of this error when doing composer update

Property AppBundle\Entity\Lander::$landerTokens does not exist

It's a new dir and so there is a minimal cache there. Redis which is also a caching layer has been flushed too.

The term landerTokens does not exist anywhere in the code base.

I am using https://deployer.org/ to deploy, so a new dir is created and then everything is run from there during the deployment until everything is OK and a symlink is switched.

Other than flushing Redis and clearing the cache I am not sure what to do.

Any other ideas?

Jake N
  • 10,535
  • 11
  • 66
  • 112
  • 2
    Possible duplicate of [Symfony2 doctrine clear cache](https://stackoverflow.com/questions/11826444/symfony2-doctrine-clear-cache) – Alister Bulman Mar 05 '18 at 14:13

1 Answers1

0

If the code used to have the '$lander' property in the entity, but it has since been removed - you will have to at least remove the doctrine cache.

Symfony2 doctrine clear cache

Alister Bulman
  • 34,482
  • 9
  • 71
  • 110