symfony - Doctrine entity caching? -


i have 1 project wasn't developed me. , has strange behaviour. added new field entity, generated setters/getters field usual. after updated database schema through doctrine:schema:update, see strange behaviour - symfony throws error call undefined method %my method name%. checked again, method exists.

after cleared cache through rm -rf app/cache/*. first page loading works fine. @ second loading got error again. so, when tried clear cache again, situation repeated. when tried use get_class_methods($myentity), shows new methods after first page loading, after second - not.

i tried use commands doctrine:cache:clear-*, useless.

anyone can me problem?

finally problem solved when restarted php-fpm. such mistery.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -