• Hi all,

    When testing my website i get the following error :

    Uncaught SyntaxError: Unexpected token :

    <script type="text/javascript">//<![CDATA[
    {"@context":"http:\/\/schema.org","@type":"WebSite","url":"https:\/\/website.nl\/","name":"Websitenamel","potentialAction":{"@type":"SearchAction","target":"https:\/\/website.nl\/?s={search_term}","query-input":"required name=search_term"}}
    {"@context":"http:\/\/schema.org","@type":"Organization","url":"https:\/\/website.nl\/","sameAs":[],"name":"Websitename","logo":""}
    var view_mode_default = 'grid-layout';
    var cg_sticky_default = 'yes';
    var cg_chosen_variation = 'wc_chosen_variation_enabled';
    //]]></script>

    The double brackets after “query-input”:”required name=search_term” are the problem, but i can’t find the source to change it?

    Any help?

    https://www.ads-software.com/plugins/wordpress-seo/

  • The topic ‘Unexpected Token’ is closed to new replies.