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 the following error into inspecting element console.

enter image description here

Please suggest me how can I fix it into Magento version 2.3?

  • check if the .htaccess file is inside pub/static folder – fmsthird Apr 19 '19 at 6:16

To fix this issue,

  1. Go to file path pub/static/

  2. Check whether the .htaccess file is available (hidden file - Press ctrl+H to view it).

  3. If not available, you can download .htaccess file in the file path pub/static/ and move it into your server.

  4. Finally, clear your browser and Magento cache and check again.

Another way if .htaccess is present in pub/static folder try ro redeploy static view files by running:

php bin/magento setup:static-content:deploy -f
| improve this answer | |
  • Thanks for reply, I tried above solution and it's not working well still showing above error. – Yagnik Solanki Apr 20 '19 at 7:02
  • I run into the same issue today and found out that I was using a different language locale which I need to redeploy first and it works – fmsthird Apr 29 '19 at 7:28
  • That also tried but not working. Because in my client's website used four languages and i already tried to ran static deploy commands for different language. But still same error occurred. – Yagnik Solanki Apr 30 '19 at 9:51
  • have you check this magento.stackexchange.com/questions/212514/… – fmsthird Apr 30 '19 at 10:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.