• Hi All,

    I am getting below error

    Uncaught Error: Syntax error, unrecognized expression: #/abc/12345
        at Function.fa.error (jquery.js:2)
        at fa.tokenize (jquery.js:2)
        at fa.select (jquery.js:2)
        at Function.fa (jquery.js:2)
        at Function.a.find (jquery-migrate.min.js:2)
        at n.fn.init.find (jquery.js:2)
        at n.fn.init.a.fn.find (jquery-migrate.min.js:2)
        at a.fn.init.n.fn.init (jquery.js:2)
        at a.fn.init (jquery-migrate.min.js:2)
        at n (jquery.js:2)

    Before update it was working fine & smoothly but after updating to 4.7.3 version of WordPress I am getting this error.

    Here is my html code
    <a class="name" href="/about/#/product/12345">Product Name</a>
    I have also tried but result is same
    <a class="name" href="/about#/product/12345">Product Name</a>

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Group Of Oceninfo

    (@princebhalani143)

    I have already tried below code and checked with all the old version as well getting same error

    function modify_jquery() {
    if (!is_admin()) {
    	wp_deregister_script('jquery');
    	wp_register_script('jquery', 'https://code.jquery.com/jquery-1.8.3.min.js');
    	wp_enqueue_script('jquery');
    }
    }
    add_action('init', 'modify_jquery');

    What’s the solution on this?
    I have the same problem

    +1 Same error here.

    Thread Starter Group Of Oceninfo

    (@princebhalani143)

    Hello Guys, I am also waiting for the solution. If anyone find it please do let me know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uncaught Error: Syntax error, unrecognized expression #’ is closed to new replies.