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
Post a Comment