• Resolved el3ktronico

    (@el3ktronico)


    Checkbot SEO shows me errors in 2 files files
    the message is “Use valid JavaScript”

    autoptimize_4549a933822416f27494ed15c5463892.js
    Line 11, Column 942, Unexpected token …`

    autoptimize_f5b28f4c77cb712ec469db3754157959.js
    Line 6, Column 942, Unexpected token …

    Any idea to fix this
    Regards

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    The invalid JS is being reported as being Autoptimize’s, but AO merely aggregates all the JS provided by your theme & plugins. What you could do is run the checkbot tests against https://happyagency.ma/?ao_noptimize=1, where the ?ao_noptimize=1 part disables Autoptimize for that request and the tool will “see” the original JS instead.

    hope this clarifies,
    frank

    Thread Starter el3ktronico

    (@el3ktronico)

    you’re right frank
    it seems coming from contact form plugin
    as i desactivate it, errors disappear
    thank you

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Javascript Error (Use Valid Javascript)’ is closed to new replies.