Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter englishwebsite

    (@englishwebsite)

    Hello,

    Below is what shows up in the error console. I don’t think I have any extensions running… Let me know what you can suggest. Thanks

    JQMIGRATE: Migrate is installed, version 3.4.1 jquery-migrate.min.js:2:981
    
    SyntaxError: expected expression, got '.'
    square.js:1:123491
    
    TypeError: window.Square is undefined
    wc-square.min.js:1:3881
    
    ????set_payment_fields https://jeremykeala.com/wp-content/plugins/woocommerce-square/assets/js/frontend/wc-square.min.js?ver=4.1.0:1
    
    ????handle_checkout_page https://jeremykeala.com/wp-content/plugins/woocommerce-square/assets/js/frontend/wc-square.min.js?ver=4.1.0:1
    
    ????jQuery 7
    
    ????success https://jeremykeala.com/wp-content/plugins/woocommerce/assets/js/frontend/checkout.min.js?ver=7.9.0:1
    
    ????jQuery 4
    
    TypeError: window.Square is undefined
    wc-square-digital-wallet.min.js:1:4627
    ?
    Thread Starter englishwebsite

    (@englishwebsite)

    Hi,
    Thanks for the comment. I have already set up my entire site with polylang, my only issue is the client section title (otherwise I use pages for each horizontal scroll, so polylang works fine).

    If by any chance you can explain how to fix this problem and keep polylang, that’d be great.

    Otherwise I will try install Q translate X.

    Thread Starter englishwebsite

    (@englishwebsite)

    I just added the following code to my index.php page and it solved the problem. Any explanation on why this solved the problem would be awesome!

    Thanks

    <?php function load_scripts() {
    		wp_deregister_script( 'bxslider' );
    		wp_register_script( 'bxslider', plugins_url( '/third-party/jquery.bxslider/jquery.bxslider.js', __FILE__), array(), false, false);
    		wp_enqueue_script( 'bxslider' );
    
    		wp_deregister_style( 'bxslider-css' );
    		wp_register_style( 'bxslider-css', plugins_url( '/third-party/jquery.bxslider/jquery.bxslider.css', __FILE__) , array() , false, false);
    		wp_enqueue_style( 'bxslider-css' );
    
    		wp_register_style( 'kiwi-logo-carousel-styles', plugins_url( 'custom-styles.css', __FILE__) , array() , false, false);
    		wp_enqueue_style( 'kiwi-logo-carousel-styles' );
    	} ?>
    Thread Starter englishwebsite

    (@englishwebsite)

    Thanks for your answer. I’m not very knowledgeable so maybe you can help out with more details?
    I’m pretty sure my wordpress theme was using jquery fine. I have other plugins that work fine…
    I’m not sure how to check if the jquery is loaded before the plugin.

    maybe I can send you the link to my website? would that help you see the problem?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)