Please look at the server error logs – they will reveal the true error for you to act on.
Hi Mike.
I checked out the server logs and resolved those errors, but now I am getting this error when I try to checkout on the site.
SyntaxError: Unexpected token F in JSON at position 1
When I check console this is what is says:
Unable to fix malformed JSON
and it references checkout.min.js.
Any advice on where to go from here, I’m stumped
The link to my site is: http://staging.wgmarketingtest.com/
Here is the woocommerce system report:
### WordPress Environment ###
Home URL: http://staging.wgmarketingtest.com
Site URL: http://staging.wgmarketingtest.com
WC Version: 2.6.2
Log Directory Writable: ✔
WP Version: 4.5.3
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: ✔
WP Cron: ✔
Language: en_US
### Server Environment ###
Server Info: Apache/2
PHP Version: ❌ 5.3.29 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version
PHP Post Max Size: 20 MB
PHP Time Limit: 120
PHP Max Input Vars: 1000
cURL Version: 7.22.0
OpenSSL/1.0.2a
SUHOSIN Installed: –
Max Upload Size: 20 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ❌ Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔
### Database ###
WC Database Version: 2.6.2
:
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: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from http://dev.maxmind.com/geoip/legacy/geolite/ to the path:
### Active Plugins (13) ###
Akismet: by Automattic – 3.1.11
EWWW Image Optimizer: by Shane Bishop – 2.9.3
Exclude or include Pages, Tags, Posts & Categories (integrate with WiziApp): by mayerz. – 1.0.9
Hello Dolly: by Matt Mullenweg – 1.6
ImageMapper: by A.Sandberg AKA Spike
Tarmo Toikkanen – 1.2.6
Jetpack by WordPress.com: by Automattic – 4.1.1
jonradio Private Site: by David Gewirtz – 2.14
MOJO Marketplace: by Mike Hansen – 0.8.2
Ninja Forms: by The WP Ninjas – 2.9.51
One-Click Child Theme: by tychay – 1.6
UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
DavidAnderson – 1.12.15
W3 Total Cache: by Frederick Townes – 0.9.4.1
WooCommerce: by WooThemes – 2.6.2
### Settings ###
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
### API ###
API Enabled: ✔
### WC Pages ###
Shop Base: #581 - /shop
Cart: #582 - /cart
Checkout: #583 - /checkout
My Account: #584 - /my-account
### Taxonomies ###
Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
### Theme ###
Name: modality child
Version: – 0 is available
Author URL:
Child Theme: ✔
Parent Theme Name: Modality
Parent Theme Version: 1.0.5
Parent Theme Author URL: http://vpthemes.com
WooCommerce Support: ✔
### Templates ###
Overrides: modality-child/woocommerce/myaccount/dashboard.php
Update:
updated PHP to 5.6
Found out the Ewww Image Optimizer and Jetpack (not activated together, but both separately) cause this error when checking out:
SyntaxError: Unexpected token < in JSON at position 0
contacted both pluggins support to see if they had any suggestions.
Very helpful article! It ended up finding out that my memory limit on my site was too low. Upped it to 256MB and now everything is working fine with both Jetpack and Ewww activated along with Woocommerce. Thanks for the help!
hi @sharmander11
Actually i am getting the same issue. can you please help me.
i am getting the same message and my ram is 512Mb,