• Resolved turtile

    (@turtile)


    Hi,

    After the update/database update to the newest version of WordPress and WooCommerce. Customers receive a JSON error yet it charges their credit cards without confirmation.

    I have the site on test mode now. How can I fix the problem?

    Thank you for any help,

    John

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @turtile!

    That error indicates that something is outputting additional debug information before the AJAX data — and it’s usually caused by either your theme or another plugin

    Official debug steps for this error can be found here: https://mikejolley.com/2015/11/12/debugging-unexpected-token-in-woocommerce-2-4/ and here https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Please work through that and let us know how it goes.

    Cheers!

    Thread Starter turtile

    (@turtile)

    Thanks!

    It seems to be the Events Manager Pro Form Builder but I still have issues.

    Uncaught TypeError: e.indexOf is not a function
    at S.fn.init.S.fn.load (jquery.min.js?ver=3.5.1:2)
    at same_attendee_script.js?ver=1:4
    at same_attendee_script.js?ver=1:68

    I can purchase normal Woocommerce products in test mode but when I attempt to purchase, I get the same error. However, when I check the console this time, I get:

    Unable to fix malformed JSON and it links to the checkout js.

    I’ve contacted the plug-in author but don’t have a reply yet.

    Hi! We’re glad you were able to identify the plugin causing the issue.

    We’d recommend deactivating that plugin if you can, while you wait for a response from the plugin developer.

    As recommended in this Stack Overflow thread for a related error message, you could consider turning on Debug in wpconfig as described here. That will enable you to see the full error log that you can pass on to the developers of Events Manager Pro Form Builder.

    Since you were able to isolate the problem to that third party plugin, I’m going to close this thread here in the WooCommerce general forum for now and mark it as resolved. If you have any further questions, please feel free to start a new thread. Hopefully the plugin developer will be in touch with you soon to get this fixed. Bye for now!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unexpected token % in JSON at position 0’ is closed to new replies.