I have developed with PHP 7.0 + nginx but I don't think that's the problem.
Do you still have the problem after this command line ?
php flarum cache:clear
If you use Varnish, clear cache:
systemctl restart varnish
Also clear your browser cache and Ctrl+F5