AMP issue
-
?After updated to the latest version my site facing an AMP issue. Google chrome browser AMP validator Extention Marked the AMP pages with an error. Example link https://www.toonsmag.com/we-want-to-convey-a-message-of-peace-through/amp/?
It says,
`Error code
DISALLOWED_TAG
Invalid markup
<script … >
Element attributes
type text/javascript
src https://www.toonsmag.com/wp-content/plugins/luckywp-table-of-contents/front/assets/main.min.js
id lwptoc-main-js
Element name
script
Parent element
head
Sources
#1 Type: Plugin
Name: LuckyWP Table of Contents (luckywp-table-of-contents)
Function: luckywp\tableOfContents\plugin\Shortcode::theContent()
Action: the_content (priority 9999)
Enqueued Script: lwptoc-main
Location: plugin/Shortcode.php:140
#2 Type: Core
Name: wp-includes
Function: wp_print_head_scripts()
Action: amp_post_template_head (priority 10)
Location: script-loader.php:1947Please help us to fix the issue.
The page I need help with: [log in to see the link]
- The topic ‘AMP issue’ is closed to new replies.