0

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?

3
  • I suggest You to post it on Git If you haven't customize your instance.
    – anonymous
    Jun 20, 2018 at 12:54
  • Did you flush the cache? 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
    Jun 21, 2018 at 7:15

1 Answer 1

0

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

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

Your Answer

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

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