Please check this link. Actually this is problem google tag manager container.
Please check above given link.
This is the error of Google Tag Manager. If you change your theme and again you do activity related to that then it can give the same error.
I don't think is changing theme will be a solution.