Hello,
It's a cache problem, but don't forget to clear all cache not only from /cache/smarty/cache... & compile
There is another cache cache that you need to empty /var/cache/dev/doctrine/ & /var/cache/prod/doctrine/
If you don't delete the ones above, you will keep getting hit by this problem