Magento Version : 2.3.0
As per my client requirement, i was upgraded magento 2.3.0 from 2.2.6.
All functionality works properly but always show following error into inspect element console.
Please suggest me how can i fix it into magento version 2.3 ?
Hello @yagnik_solanki,
For your problem, you can check for .htaccess file in pub/static directory.
Adding this file from a clean Magento 2 installation might solve your problem.
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.
Thanks for reply,
Already tried your solution but not working well.
Also tried all solution available for this error but still error occurred.
To fix this issue,
Go to file path pub/static/
Check whether the .htaccess file is available (hidden file - Press ctrl+H to view it).
If not available, you can download .htaccess file in the file path pub/static/ and move it into your server.
Finally, clear your browser and Magento cache and check again.
Another way if .htaccess is present in pub/static folder try to redeploy static view files by running:
php bin/magento setup:static-content:deploy -f
------------------------------------------------
If you've found one of my answers useful, please give"Kudos" or "Accept as Solution"
Thanks for reply,
I was already tried above solution but still same error occurred after run static deploy command.