Alright, quick update: so the problem with Easy Table of Contents is that this particular plugin attempts to modify anything that resembles a heading it can find in the entire HTML document via the init and shutdown action hooks (see relevant code).
And so it happens that it also messes around with WPP’s inline JSON code which shouldn’t be interpreted as HTML as it’s just a JSON string, like so for example:
<script type="application/json">{"title":"","limit":"3","offset":0,"range":"all","time_quantity":24,"time_unit":"hour","freshness":false,"order_by":"views","post_type":"post","pid":"","cat":"","taxonomy":"category","term_id":"","author":"","shorten_title":{"active":false,"length":0,"words":false},"post-excerpt":{"active":false,"length":0,"keep_format":false,"words":false},"thumbnail":{"active":false,"build":"manual","width":0,"height":0},"rating":false,"stats_tag":{"comment_count":false,"views":true,"author":false,"date":{"active":false,"format":"F j, Y"},"category":false,"taxonomy":{"active":false,"name":"category"}},"markup":{"custom_html":true,"wpp-start":"<ul class=\"wpp-list\">","wpp-end":"<\/ul>","title-start":"<h2>","title-end":"<\/h2>","post-html":"<li>{thumb} {title} <span class=\"wpp-meta post-stats\">{stats}<\/span><\/li>"},"theme":{"name":""}}</script>The consequence of that is WPP being unable to load as you already saw.
So please reach out to the Easy Table of Contents Support team and request them to consider updating their code so it only alters headings that are found inside the <body> portion of the page and are actual HTML tags instead of any string that starts with <h.
