Unexpected Token Issue
-
Hi there,
A client of mine is having a lot of issues with the Unexpected Token issue that’s been around since the last woo update. From all the reading I’ve done the issue occurs because of some kind of error reporting, or sometimes html being returned before the ajax response.
I’ve looked in to these avenues and am struggling to find a resolution. I’m using the latest version of your plugin, along with the latest versions of everything else.
The ajax response I’m getting is successful…
Time took: 1816.406ms {"result":"success","redirect":"https:\/\/www.ourwebaddress.com\/checkout\/order-received\/51969?key=wc_order_561401c52d5db"}That’s the whole response, so no html before the response… should that “Time Took” be there?? The order comes through as successful in WP admin, it’s almost as if everything is working fine… but the redirect to the order confirmation is being halted by the Unexpected Token issue.
I’ve tried de-activating all plugins, that made no difference, the error remained.
I’m a bit lost, I’m not sure what else to do?
The topic ‘Unexpected Token Issue’ is closed to new replies.