[WooCommerce] SyntaxError: Unexpected token < in JSON at position 0
-
Hello — I’ve seen this topic posted and even resolved before, but I’m still having trouble. I am very much NOT a programmer, so some of the jargon & procedures that may be familiar to many of you likely are not familiar to me. Here’s my problem:
Been using WooCommerce on a premium theme (Lunchbox Pro) for over a year. For payment, I have been using the Simplify Commerce Gateway. Never had any problems until recently. Now, all of a sudden, when placing an order, “nothing happens.” When scrolling to the top of the screen, it says “Internal Server Error.” The customer’s payment DOES go through, but they don’t think it does so they end up resubmitting the order several times, causing multiple duplicate transactions.
The problem first occurred probably 6 weeks ago and I thought it was just a fluke, but now it happens every time. I have currently disabled the Simplify Commerce Gateway and am using PayPal until this is resolved.
So, here’s what I’ve done so far:
I followed the instructions on this forum to debug, and discovered this message:
SyntaxError: Unexpected token < in JSON at position 0Using the console in Chrome, it says “Unable to fix malformed JSON” and then “checkout.min.js:1”
I’m not sure where to go from here. I contacted Simplify and they told me the problem is within the website, and not with them. I’d appreciate any help you could give a non-tech guy like myself. Thanks.
Here is my system status:
### WordPress Environment ### Home URL: https://kargigogo.com Site URL: https://kargigogo.com WC Version: 2.6.8 Log Directory Writable: ? WP Version: 4.6.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: ? WP Cron: ? Language: en_US ### Server Environment ### Server Info: Apache PHP Version: ? 5.4.45 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version PHP Post Max Size: 65 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.45.0 OpenSSL/1.0.1e SUHOSIN Installed: – MySQL Version: 5.6.32 Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 2.6.8 : woocommerce_sessions: ? woocommerce_api_keys: ? woocommerce_attribute_taxonomies: ? woocommerce_downloadable_product_permissions: ? woocommerce_order_items: ? woocommerce_order_itemmeta: ? woocommerce_tax_rates: ? woocommerce_tax_rate_locations: ? woocommerce_shipping_zones: ? woocommerce_shipping_zone_locations: ? woocommerce_shipping_zone_methods: ? woocommerce_payment_tokens: ? woocommerce_payment_tokenmeta: ? MaxMind GeoIP Database: ? ### Active Plugins (25) ### Child Theme Configurator: by Lilaea Media – 2.1.2 Contact Form 7: by Takayuki Miyoshi – 4.5.1 Duplicate / Clone Pages and Posts: by It Spiders – 1.2 Easy Google Fonts: by Titanium Themes – 1.4.1 Google Analytics Dashboard for WP: by Alin Marcu – 4.9.3.2 Instagram Feed: by Smash Balloon – 1.4.8 WPBakery Visual Composer: by Michael M - WPBakery.com – 4.7 Lunchbox One Click Import: by Progression Studios – 1.2 Pro: Lunchbox Custom Post Types: by Progression Studios – 1.0 MailChimp for WordPress: by ibericode – 4.0.7 MailChimp for WordPress - Top Bar: by ibericode – 1.2.15 Post Types Order: by Nsp Code – 1.9 Progression VC Elements: by Progression Studios – 1.0 Quick Page/Post Redirect Plugin: by anadnet – 5.1.8 Go Daddy Quick Setup: by GoDaddy.com LLC – 1.06 Revolution Slider: by ThemePunch – 5.0.7 Search Engine Visibility: by GoDaddy – 0.5 Sidekick: by Sidekick.pro – 2.6.8 WooCommerce Customizer: by SkyVerge – 2.3.1 WooCommerce Simplify Commerce Gateway: by Automattic – 1.0.2 WooCommerce Menu Cart: by Jeremiah Prummer Ewout Fernhout – 2.5.8.1 WooCommerce Stock Manager: by Vladislav Musílek – 1.1.1 WooCommerce: by WooThemes – 2.6.8 Yoast SEO: by Team Yoast – 3.8 WP101 Video Tutorials: by WP101Plugin.com – 0.3 ### Settings ### Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 ### API ### API Enabled: ? ### WC Pages ### Shop Base: #30 - /shop/ Cart: #136 - /cart/ Checkout: #137 - /checkout/ My Account: #138 - /my-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: Lunchbox Pro Child Version: 1.0.1453936492 Author URL: Child Theme: ? Parent Theme Name: Lunchbox Pro Parent Theme Version: 1.3 Parent Theme Author URL: https://themeforest.net/user/ProgressionStudios WooCommerce Support: ? ### Templates ### Overrides: pro-lunchbox/woocommerce/archive-product.php pro-lunchbox-child/woocommerce/content-product.php pro-lunchbox-child/woocommerce/content-product_cat.php pro-lunchbox/woocommerce/content-single-product.php pro-lunchbox-child/woocommerce/emails/customer-completed-order.php pro-lunchbox-child/woocommerce/emails/customer-processing-order.php pro-lunchbox-child/woocommerce/global/sidebar.php pro-lunchbox/woocommerce/loop/pagination.php pro-lunchbox-child/woocommerce/product-searchform.php pro-lunchbox/woocommerce/single-product/related.php pro-lunchbox/woocommerce/single-product.php
- The topic ‘[WooCommerce] SyntaxError: Unexpected token < in JSON at position 0’ is closed to new replies.