Jquery error (header / menu) - fix

Home Forums Jevelin Theme Jquery error (header / menu) – fix

Home Forums Jevelin Theme Jquery error (header / menu) – fix

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • deuxrose
    Participant

    Site was loading but showing blank pages (no content). In console showed this error

    Uncaught Error: Syntax error, unrecognized expression: nav.sh-header-mobile-dropdown li.menu-item > a[href*=#] at Function.ea.error (jquery.js:2) at ea.tokenize (jquery.js:2) at ea.select (jquery.js:2) at Function.ea [as find] (jquery.js:2) at n.fn.init.find (jquery.js:2) at new n.fn.init (jquery.js:2) at n (jquery.js:2) at HTMLDocument.<anonymous> (scripts.js?ver=5.5:565) at i (jquery.js:2) at Object.fireWith [as resolveWith] (jquery.js:2)

     

    Found a fix – put in the functions.php file:

     

    add_action( 'wp_enqueue_scripts', 'load_old_jquery_fix', 100 );
    
    function load_old_jquery_fix() {
        if ( ! is_admin() ) {
            wp_deregister_script( 'jquery' );
            wp_register_script( 'jquery', ( "//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" ), false, '1.11.3' );
            wp_enqueue_script( 'jquery' );
        }
    }
    
    
    

     

    Please look to finding a more perm solution in jevelin theme

    Hi @deuxrose,

     

    Sorry to hear about the problem you are having.

     

    Could you please tell me which version of WordPress you are using?

     

    I could confirm this issue on my website by using WordPress version 5.5

     

    It seems the theme jQuery script is causing the issue as jQuery is updated in the latest WordPress version 5.5

     

    The issue will be fixed ASAP in the upcoming version of the theme.

     

    Best regards,
    Shufflehound team

    deuxrose
    Participant

    WordPress 5.5 running

    Thank you for confirming it.

    Videvince
    Participant

    Hi there. I’m facing the same issue. Waiting for an update to fix it.

    Thank you.

    The issue is resolved in the below latest version of theme so please update the theme as described here https://support.shufflehound.com/updating-theme/

     


    Please login to access this file

     

    Please clear your browser cache after updating the theme so that the latest js and CSS files will be loaded.

    ericwooley
    Participant

    This is still an issue for me with the beta that was posted.

    Adding the code to functions.php fixed it for me.

    @ericwooley If you are still facing the issue with the latest theme version then to help us keep support thread separates could you please create your own thread for your question instead of posting a reply on others thread as it makes the thread messy and hard to read.

     

    If you want to you can also add a reference to this thread in your newly created thread.

     

    We would be more than happy to help you with your new thread.

     

Viewing 8 posts - 1 through 8 (of 8 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form