remove cache folder to solve problems
rm -rf var/cache* var/di/* var/generation/* var/page_cache/* pub/static/*