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
    Commented Jun 20, 2018 at 12:54
  • Did you flush the cache? Commented Jun 20, 2018 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
    Commented Jun 21, 2018 at 7:15

1 Answer 1


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 "".

  • "div" tag inside "a" tag.
    – BVitto
    Commented Jun 21, 2018 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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