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– anonymous2018年06月20日 12:54:57 +00:00Commented Jun 20, 2018 at 12:54
-
Did you flush the cache?Sukumar Gorai– Sukumar Gorai2018年06月20日 15:14:45 +00:00Commented 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– BVitto2018年06月21日 07:15:23 +00:00Commented 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 "".
Teja Bhagavan Kollepara
3,8275 gold badges33 silver badges69 bronze badges
-
"div" tag inside "a" tag.BVitto– BVitto2018年06月21日 13:13:37 +00:00Commented Jun 21, 2018 at 13:13
default