I tried to change my HTML code in my BLOCK. The problem is when I press Save I can see the changes on the live site but my block is still showing the old code.

It also returns "Something went wrong" panel.

Why does site update but Magento 2 doesnt?

Any ideas?

  • I suggest You to post it on Git If you haven't customize your instance. – anonymous Jun 20 '18 at 12:54
  • Did you flush the cache? – Sukumar Gorai Jun 20 '18 at 15:14
  • Yes I did serveral times. No changes. All users that own rights to see the block structure, can only see the old code. I couldn't find an answer yet. – BVitto Jun 21 '18 at 7:15

The problem was that Magento 2 couldn't read my HTML code. I nested "" tag inside "" tag and that was the case..

So I solved a problem by changing "" to "".

| improve this answer | |
  • "div" tag inside "a" tag. – BVitto Jun 21 '18 at 13:13

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.