I deleted $hearAboutIndustry from the object and now I get the error below only on the production server, and not on the local and intermediate server! Any idea why or solution?
Property Tete\AdminBundle\Entity\Customer::$hearAboutIndustry does not exist 500 Internal Server Error - ReflectionException
config_prod.yml
doctrine: orm: metadata_cache_driver: apc result_cache_driver: apc query_cache_driver: apc
What am I doing to solve it so far:
- Removed recipients and setters from the object.
- Deleted entire folders of caches and logs and re-created back, including 777.
- Just in case, run
cache:clear --env=prod - Search
hearAboutIndustry in all project directories / files. No reference. - Run
doctrine:schema:update . DB is updated. - Run
doctrine:generate:entities . Object updated. - Application / Console Doctrine: cache: clear-metadata li>
- app / console doctrine: cache: clear-query
- app / console doctrine: cache: clear-result
source share