Image/text slots are working strange when I'm in the mautic email builder

Your software
My Mautic version is:
My PHP version is: 7.4.3
My Database type and version is:

Your problem
My problem is:

I uploaded a theme with a developed email template, according to the documentation all of the data-slots have their own respective names images/text and should be visible in the slot customization in the builder. However, when I open the email in builder only a few first slots are visible for editing, and all the rest are not visible until I would make a copy of the whole block so that the previous one would become visible. Have anyone experienced this?

These errors are showing in the log:

Steps I have tried to fix the problem:

Hi, this is most likely to a misplaced slot tag.
Could you plz double check the code?
Joey

Here’s the code Screenshot by Lightshot, this is the first one when the issue starts, if I copy this block in the builder it becomes editable then, that’s the strange thing