Doctrine ReflectionException property does not exist

后端 未结 4 729
被撕碎了的回忆
被撕碎了的回忆 2021-02-07 03:52

I\'m trying to add Doctrine on top of an existing database. I let Doctrine generate annotated entities and adjusted from there. When I try to load the entity below I get the e

4条回答
  •  臣服心动
    2021-02-07 04:26

    Usually on production you want something like this:

    php bin/console doctrine:cache:clear-result --env=prod
    php bin/console doctrine:cache:clear-query --env=prod
    php bin/console doctrine:cache:clear-metadata --env=prod
    

提交回复
热议问题