• Resolved ellice909

    (@ellice909)


    I am trying to trouble shoot a problem on my website, and I noticed the Google Chrome Developer’s console is highlighting these errors below. I actually think solving issue one will solve issue two. Thank you.

    Issue 1: page-scroll-to-id.min.js?ver=1.7.4

    ps2id selector issue: a[href*=#]:not([href=#]) selector needs quotes

    Issue 2: jquery.min.js?ver=3.5.1

    jquery.min.js?ver=3.5.1:2 Uncaught Error: Syntax error, unrecognized expression: .__mPS2id,a[href*=#]:not([href=#]),._ps2id,a[data-ps2id-api='true'][href*='#'],.ps2id > a[href*='#'],a.ps2id[href*='#']
        at Function.se.error (jquery.min.js?ver=3.5.1:2)
        at se.tokenize (jquery.min.js?ver=3.5.1:2)
        at se.compile (jquery.min.js?ver=3.5.1:2)
        at se.select (jquery.min.js?ver=3.5.1:2)
        at se (jquery.min.js?ver=3.5.1:2)
        at Function.se.matchesSelector (jquery.min.js?ver=3.5.1:2)
        at Object.add (jquery.min.js?ver=3.5.1:2)
        at Object.s.event.add (jquery-migrate.min.js?ver=3.3.2:2)
        at HTMLDocument.<anonymous> (jquery.min.js?ver=3.5.1:2)
        at Function.each (jquery.min.js?ver=3.5.1:2)

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

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

    (@malihu)

    Hello,

    As the error says, you just need to add quotes to the plugin selector. Go to “page scroll to id” settings and see the notice. Simply change the “Selector(s)” option value to:

    a[href*='#']:not([href='#'])

    Save changes, test and let me know

    Thread Starter ellice909

    (@ellice909)

    Thank you. What a simple fix. I did not imagine it being something I could change in the settings; I thought it would require a plug-in code change. ??

    Plugin Author malihu

    (@malihu)

    No problem ?? Glad I helped!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Errors Seen in Google Console’ is closed to new replies.