My custom grid in front end using ui_component worked fine before I install new theme. I'm getting this error in console log:

enter image description here

Please help me!


As I see, seem that the static content doesn't generate under pub/static folder.

1) If your Magento is developer mode, you need to delete pub/static/frontend and pub/static/adminhtml, not delete .htaccess folder.

2) And then, refresh your browser. Sometimes, we need to refresh 10 times because the static content needs time to generate automatically.

Now, our static content pub/static is symbolic the real file content.

  • I have already run the command static-content:deploy. But It's not working. Maybe It come from conflict theme with my custom module. – Nero Phung Nov 30 '17 at 2:12
  • No no, don't need to run static content again and again. Follow my instruction. And then clear Browser Cache. Refresh your Browser again and again. Make sure clear Browser Cache also. – Khoa TruongDinh Nov 30 '17 at 2:14
  • I spot that this error is not show in everypage. Just some page. I have cleand the browser cache. Still get it. – Nero Phung Nov 30 '17 at 2:21
  • Try to use Incognito mode. – Khoa TruongDinh Nov 30 '17 at 2:28
  • Not get better mate. Do something in custom module might remove that js file? – Nero Phung Nov 30 '17 at 2:31

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.