Hi,
I am getting the below error on google console: The script tag contains invalid JSON that cannot be parsed..
I have verified the AMP pages, It says “Valid AMP Pages” but Google is still complaining about it. Please see few of the URLs:
https://www.lyricsstop.com/music-directors/anu-malik/?amp
https://www.lyricsstop.com/actors/ileana-dcruz/?amp
https://www.lyricsstop.com/actors/gajraj-rao/?amp
Please help me in resolving this issue.
Thanks
I have the same problem. Using version 10.2
Example URLs:
1)

2) 
Hello !
Please make sure that you are inserting your analytics code properly as you can see here:
https://prnt.sc/r5km9m ; https://ampforwp.com/tutorials/article/how-to-troubleshoot-the-script-tag-contains-invalid-json-that-cannot-be-parsed-error-in-amp-validator/
Thank you !
Google is complaining for below two code:
<amp-state id=”td_amp_menu_state”><script type=”application/json”>
{
“visible”: false
}
</script></amp-state
and
<script type=”application/json”>
{
“visible”: false,
“focus”: false,
“s”: “”
}
</script>
Where is this coming from if I have left my analytics section blank?
Please help me in resolving this issue.
Thanks…!!
Thanks Vlad. Please send us an update when they fix the AMP plugin and post an update.