• Hello everyone!

    I thank you in advance for all the help.

    I have searched endlessly for a solution of my problem with checkout page in woocommerce and haven’t found any solution.

    All my plugins and themes are updated the woocommerce status shows no error yet my checkout page is loading endlessly. I checked the Google Chrome console and got this error:

    Uncaught TypeError: Cannot read property ‘reload’ of null
    at Object.success (checkout.min.js:1)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at y (jquery.js:4)
    at XMLHttpRequest.c (jquery.js:4)

    Active plugins (10)
    cPanel & WHM? Site Software by cPanel, Inc. – 1.0
    Divi Builder by Elegant Themes – 2.0.15
    Elegant Themes Updater by Elegant Themes – 1.2
    Image Widget by Modern Tribe, Inc. – 4.4.5
    WooCommerce Bookings by Automattic – 1.10.3
    WooCommerce Colors by WooThemes – 1.0.6
    WooCommerce Customizer by SkyVerge – 2.5.0
    WooCommerce Direct Checkout by Terry Tsang – 1.1.2
    WooCommerce PayPal Express Checkout Gateway by WooCommerce – 1.4.1
    WooCommerce by Automattic – 3.1.0

Viewing 10 replies - 1 through 10 (of 10 total)
  • You could try to debug PHP to see if there are any variables missing by turning error reporting ON, I’ve googled your query and there are numerous reasons why this could happen.

    Thread Starter davor2005

    (@davor2005)

    I’ve tried that and turned the WP_DEBUG to true and DEBUG LOG to true, there’s no errors, and not even in error_logs in the public_html

    nothing

    The checkout page just keeps spinning the load icon. I contacted the ninjas on woocommerce so I hope for some results because apparently these are all woocommerce javascript files that the console shows.

    I am getting the exact same message! Also, I am using the Divi theme too. I switched to another theme (Storefront by WooCommerce) and my checkout works without problems.

    So I am guessing Divi is the problem here….

    
    jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
    checkout.min.js?ver=3.1.0:1 Unable to fix malformed JSON
    checkout.min.js?ver=3.1.0:1 Uncaught TypeError: Cannot read property 'reload' of null
        at Object.success (checkout.min.js?ver=3.1.0:1)
        at i (jquery.js:2)
        at Object.fireWith [as resolveWith] (jquery.js:2)
        at y (jquery.js:4)
        at XMLHttpRequest.c (jquery.js:4)
    
    • This reply was modified 7 years, 5 months ago by ProjectSpots. Reason: Added error code
    Thread Starter davor2005

    (@davor2005)

    Thanks ProjectSpots!

    I’ve submited a ticket on the divi support right away.

    Just a quick question for you, because I’ve been on Divi since the beginning of my amateur wordpress carrer. How can I switch themes and keep the exact same layout design and content? Is it possible?

    You could “Live Preview” your new theme. Go to Appearance -> Themes. Put your mouse cursor over a theme and click the “Live Preview” button. It may not look pretty.

    By the way, I seem to found the thread on ElegantThemes. Others are reporting the error too: https://www.elegantthemes.com/forum/viewtopic.php?f=187&t=713653&hilit=woocommerce

    As per the above link, the solution is to downgrade your Divi theme.

    There are instructions and an earlier version of Divi with that link.

    I downgraded my Divi theme and payments now work.

    So the lesson here: do not upgrade Divi unless we have tested this on another separate WordPress (or clone). Keep versions of the theme in case we need to rollback.

    Thread Starter davor2005

    (@davor2005)

    Thanks allot ProjectSpots!

    I’m definetly gonna try this out and let you know here if it works.

    Thread Starter davor2005

    (@davor2005)

    Update:

    Interesting thing occured. At the same time I was contacting ninjas woocommerce gave them an admin account to check my wordpress.

    The support there recorderd a screen video showing that the checkout page works fine for them. At the same time it was still endlessly loading for me. My friend tried on his PC also got an error.

    Could it have something to do with the fact we are Croatia IP, and the support was from Berlin? or his PC or browser had something our didnt? very strange

    Could it have something to do with the fact we are Croatia IP, and the support was from Berlin? or his PC or browser had something our didnt? very strange

    I’m not an expert, but could it be caching or DNS problems? One time my website could not load properly but others could load it fine. It may take some time to migrate.

    If you could, record a screen video of your experience and send it back to them. I can tell you, this is one of the frustrating things about web development…functions may or may not work for others.

    Thread Starter davor2005

    (@davor2005)

    UPDATE!

    Finally it works. Today there was a new update for Divi theme and after installing it everything works.

    Thanks everybody for the help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘help – Endless loading on checkout page in Woocommerce’ is closed to new replies.