Run your code like this and it'll most likely correct it:
php bin/magento setup:di:compile && php bin/magento setup:static-content:deploy en_GB en_US && chmod -R 777 var pub/static && php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush
I use this all the time, it seems to be best order, and it fully refreshes all generated content. Please bear in mind, depending on the number of products/categories/customers/orders etc. it may take a little while.
EDIT: Also please note, this has the static content for en_GB and en_US languages, but obviously just select what you require, I do both as it clears up some issues that admins sometimes have with languages/translations and admin user accounts.