3
Please try by running this command:
php bin/magento setup:static-content:deploy -f en_US
en_US please change it with your store country code.
3
It was the issue in my third party module, after disable the modules, and running commands, my issue was fixed.
The commands which I run after disabling module was:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
1
Recently had a very similar issue with a Magento 2 site. Managed to track down the issue to a very important .htaccess file missing in the pub/static folder on the server.
It's unclear how this file was mysteriously removed but re-adding this file from a clean Magento 2 installation rectified the issue.
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
css × 1132magento2 × 479
magento-1.9 × 205
javascript × 197
theme × 109
layout × 76
html × 73
less × 71
magento-2.1 × 65
php × 47
frontend × 45
admin × 34
cache × 34
xml × 33
less-css × 31
magento-1.7 × 28
magento2.2 × 23
magento-1.8 × 22
template × 21
jquery × 20
magento2.3 × 19
cms × 19
ce-1.8.1.0 × 18
email-templates × 17
phtml × 17