• Resolved Jorge Razor

    (@jorgehoffmann)


    I’m getting a javascript error when I click on the last “next” button, that leads to Order and Payment tab: “self.$checkout_form.removeClass(…).unblock is not a function”. The only thing I know is that the issue is coming from the core of the plugin, it is not an incompatibility with other plugin or such. Can you help me, please? Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    Could you give me a link to your website so I can have a look?

    On my test website I don’t get any error, so it should be coming only under some certain conditions. Investigating the website’s HTML might give me some clues about the conditions under which the error shows up.

    What theme are you using? What is version of WordPress and WooCommerce?

    Thread Starter Jorge Razor

    (@jorgehoffmann)

    Latest versions of all plugins. Theme is custom made by me, nothing but bootstrap + jquery + blank pages to start.

    Link: https://dev.razorcomputadores.com.br/checkout/?add-to-cart=100

    My cart and checkout don’t work if you don’t have a product in cart, that’s why the link is adding a product.

    Don’t mind the “everloading” payment section, is because I use composite products and the link above adds a simple product.

    • This reply was modified 3 years, 11 months ago by Jorge Razor.
    Plugin Author SilkyPress

    (@diana_burduja)

    Would you please make sure the jQuery library is loaded only once on the website?

    Currently jQuery library is loaded once from WordPress core (version 3.5.1) and a second time as part of the Autoptimize JS file (version 3.6.0). You can choose to keep whichever jQuery version you want, but it would be recommended to load only one on the website. Afterwards the JS error shouldn’t show up anymore.

    Thread Starter Jorge Razor

    (@jorgehoffmann)

    Both files load on every page of the website without any errors. The only error is this one, but, following your instructions, when I load only the WP jquery the problem is gone. It is strange, but it works, so OK, thanks for the help.

    Plugin Author SilkyPress

    (@diana_burduja)

    I agree, it is strange. I’ll need to investigate this further and fix it in a future release.

    • This reply was modified 3 years, 11 months ago by SilkyPress.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Javascript error’ is closed to new replies.