There seems to be a lot on the internet about this – examples below – each one relates to jQuery…
https://www.kevinleary.net/blog/jquery-syntax-error-unrecognized-expression/
https://tt-inc.org/fix-syntax-error-unrecognized-expression-href-wordpress-avada-theme.html
https://forum.jquery.com/topic/uncaught-error-syntax-error-unrecognized-expression
Thoughts…?