• Resolved nicknoop

    (@nicknoop)


    Hello, Building out my own theme which is now live – https://laylasmithpsychotherapy.com – I’m getting the following error when inspecting element:

    Uncaught Error: Syntax error, unrecognized expression: https://laylasmithpsychotherapy.com

    Part of jQuery functionality not working, specifically sticky-nav as well as scroll to top. Strange because other parts of jQuery working ok (e.g. smooth scrolling)??

    I had this all working great on localhost a day or so ago – no errors at all. I went through process of tidying up my code to push it live and did not notice sticky nav not working until it was live, and then going back to localhost it was not working there either! I can’t trace my steps back to see where I’ve gone wrong! In the tidy process I did not touch functions.php or js files, only the style sheets and main theme php files.

    Sorry I can’t be more specific, I’ve run out of any ideas on a solution and can’t find anything on forums that may help me.
    Any assistance would be greatly appreciated!

Viewing 1 replies (of 1 total)
  • Thread Starter nicknoop

    (@nicknoop)

    Managed to sort the issue out finally! Not quite sure what the issue was exactly, I took everything apart, checked everything in the functions.php file, re-enqueued scripts, went through my jQuery file with a fine tooth comb. Interestingly in the beginning when I removed the blog section from the front page the error no longer appeared. But I started from the top down with the functions and jQuery and when re-inserting the blog no more errors, thank goodness!!

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught Error: Syntax error, unrecognized expression: https://laylasmithpsychoth’ is closed to new replies.