Getting error in checkout after woocommerce update
-
Hi,
After updating woocommerce version, I am getting following error after checkout.
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data.
Console shows message: Unable to fix malformed JSON
It was working fine before woocommerce update.
Also tried with default payment gateway (Direct Bank Transfer)
Please help in resolving this.
Thanks
-
Hi there,
To troubleshoot this further, please do the following:
- Share a copy of your status report as found under **WooCommerce > Status**
- Confirm whether the same thing happens after working through a conflict test as outlined at https://docs.woocommerce.com/document/how-to-test-for-conflicts/
Yes I tried deactivating plugins and also tried with default theme but same error is coming in checkout.
Please check below status report:
### WordPress Environment ### WordPress address (URL): https://advdev.pw Site address (URL): https://advdev.pw WC Version: 4.3.1 REST API Version: ? 1.0.10 WC Blocks Version: ? 2.7.2 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.3.1 Log Directory Writable: ? WP Version: 5.4.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache mod_bwlimited/1.4 PHP Version: 7.3.20 PHP Post Max Size: 256 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.71.0 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.23-MariaDB Max Upload Size: 200 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.3.1 WC Database Prefix: yjzcy_ Total Database Size: 19.55MB Database Data Size: 17.04MB Database Index Size: 2.51MB yjzcy_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM yjzcy_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_woocommerce_order_items: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_woocommerce_order_itemmeta: Data: 0.10MB + Index: 0.06MB + Engine MyISAM yjzcy_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM bf_activitylog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM bf_core_hashes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB bf_files: Data: 0.02MB + Index: 0.19MB + Engine InnoDB bf_files_last: Data: 0.02MB + Index: 0.19MB + Engine InnoDB bf_folders: Data: 0.02MB + Index: 0.08MB + Engine InnoDB bf_folders_to_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yjzcy_actionscheduler_actions: Data: 0.01MB + Index: 0.02MB + Engine MyISAM yjzcy_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_actionscheduler_logs: Data: 0.01MB + Index: 0.01MB + Engine MyISAM yjzcy_aiowps_events: Data: 0.29MB + Index: 0.07MB + Engine MyISAM yjzcy_aiowps_failed_logins: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_aiowps_global_meta: Data: 1.16MB + Index: 0.00MB + Engine MyISAM yjzcy_aiowps_login_activity: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_aiowps_login_lockdown: Data: 0.01MB + Index: 0.00MB + Engine MyISAM yjzcy_aiowps_permanent_block: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_akeeba_common: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_ak_params: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_ak_profiles: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_ak_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_ak_storage: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_ak_users: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_charitable_campaign_donations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_charitable_donormeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_charitable_donors: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_comments: Data: 0.03MB + Index: 0.02MB + Engine MyISAM yjzcy_donate: Data: 0.06MB + Index: 0.02MB + Engine InnoDB yjzcy_donate_setting: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yjzcy_donations_configs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yjzcy_donations_countries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yjzcy_donations_payments: Data: 0.06MB + Index: 0.02MB + Engine InnoDB yjzcy_em_bookings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_em_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_em_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_em_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_em_tickets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_em_tickets_bookings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_eventer_coupons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_eventer_registrant: Data: 0.07MB + Index: 0.00MB + Engine MyISAM yjzcy_eventer_tickets: Data: 0.09MB + Index: 0.02MB + Engine MyISAM yjzcy_gcspayments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_login_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_newsletter: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_newsletter_emails: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_newsletter_sent: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_newsletter_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_newsletter_user_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_newsman_an_clicks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yjzcy_newsman_an_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yjzcy_newsman_an_sub_details: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yjzcy_newsman_an_timeline: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yjzcy_newsman_blocked_domains: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yjzcy_newsman_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yjzcy_newsman_email_templates: Data: 1.52MB + Index: 0.00MB + Engine InnoDB yjzcy_newsman_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yjzcy_newsman_locks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yjzcy_newsman_lst_default: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yjzcy_newsman_lst_wp_users: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yjzcy_newsman_sentlog: Data: 0.02MB + Index: 0.08MB + Engine InnoDB yjzcy_newsman_workers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yjzcy_ninja_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yjzcy_ninja_forms_fav_fields: Data: 0.05MB + Index: 0.00MB + Engine InnoDB yjzcy_ninja_forms_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yjzcy_ninja_forms_subs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yjzcy_options: Data: 1.82MB + Index: 0.08MB + Engine MyISAM yjzcy_optionsx: Data: 0.36MB + Index: 0.05MB + Engine MyISAM yjzcy_optionsxx: Data: 1.39MB + Index: 0.06MB + Engine MyISAM yjzcy_postmeta: Data: 2.51MB + Index: 0.48MB + Engine MyISAM yjzcy_posts: Data: 4.80MB + Index: 0.23MB + Engine MyISAM yjzcy_postsx: Data: 1.95MB + Index: 0.14MB + Engine MyISAM yjzcy_sm_advanced_search_temp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yjzcy_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_term_relationships: Data: 0.02MB + Index: 0.05MB + Engine MyISAM yjzcy_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_usermeta: Data: 0.05MB + Index: 0.04MB + Engine MyISAM yjzcy_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_w3tc_cdn_pathmap: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_w3tc_cdn_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpsc_also_bought: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpsc_cart_contents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpsc_cart_item_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_wpsc_checkout_forms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_wpsc_claimed_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpsc_coupon_codes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpsc_currency_list: Data: 0.02MB + Index: 0.01MB + Engine MyISAM yjzcy_wpsc_download_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpsc_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_wpsc_product_rating: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpsc_purchase_logs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_wpsc_purchase_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yjzcy_wpsc_region_tax: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpsc_submited_form_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpsc_visitors: Data: 0.02MB + Index: 0.05MB + Engine MyISAM yjzcy_wpsc_visitor_meta: Data: 0.06MB + Index: 0.08MB + Engine MyISAM yjzcy_wpuser_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpuser_group_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_WPUser_LoginAttempts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpuser_login_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpuser_notification: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_wpuser_views: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yjzcy_xcloner_scheduler: Data: 0.00MB + Index: 0.00MB + Engine MyISAM _del_donations_configs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB __donations_payments: Data: 0.05MB + Index: 0.02MB + Engine InnoDB ___yjzcy_donations_configs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf: 1 acf-field: 2 acf-field-group: 1 amn_mi-lite: 4 attachment: 371 eventer: 29 nav_menu_item: 34 newsman_ap: 7 nf_sub: 2 option-tree: 1 page: 58 popup: 2 popup_theme: 7 post: 159 post_grid: 1 product: 39 product_variation: 2 revision: 523 sayonara: 3 shop_order: 86 shop_order_refund: 6 tribe_events: 159 tribe_organizer: 4 tribe_venue: 41 turbo-sidebar-cpt: 1 vp_orbitslides: 2 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (49) ### WooCommerce Authorize.Net Gateway: by Pledged Plugins – 5.1.15 All In One WP Security: by Tips and Tricks HQ Peter Ruhul Ivy – 4.0.7 Advanced Custom Fields: by Elliot Condon – 5.8.13 Akeeba Backup for WordPress: by Akeeba Ltd – 7.2.2 Akismet Anti-Spam: by Automattic – 4.1.6 All In One SEO Pack: by All in One SEO Team – 3.6.2 Authorize.net Payment Integration using API: by – Black Studio TinyMCE Widget: by Black Studio – 2.6.9 Charitable - Authorize.Net: by WP Charitable – 1.3.4 Charitable: by WP Charitable – 1.6.43 Custom Favicon: by Harish Chouhan – 1.0.3 Disable Comments: by Samir Shah – 1.10.3 Disable Gutenberg: by Jeff Starr – 2.2 Eventer: by imithemes – 2.8 GA Google Analytics: by Jeff Starr – 20200325 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.12.0 jQuery Updater: by Ramoonus – 3.5.1.2 mywpguru: by Phil Taylor – is fully automatically updated to the latest Newsletter: by Stefano Lissa & The Newsletter Team – 6.8.4 Slider by Nivo - Responsive Image Slider: by ThemeIsle – 2.3.1 PHP Code Widget: by Otto – 2.3 Post Grid by PickPlugins: by PickPlugins – 2.0.69 Post Types Order: by Nsp Code – 1.9.5.1 Purchase Orders for WooCommerce: by McGregor Media Web Design – 1.7.10 Really Simple CAPTCHA: by Takayuki Miyoshi – 2.0.2 Really Simple SSL: by Really Simple Plugins – 3.3.4 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.3 Sayonara - Advanced Popup Builder: by Ben Roberts – 1.0.1 Shortcodes Ultimate: by Vladimir Anokhin – 5.9.2 Show Current Template: by JOTAKI Taisuke – 0.3.4 Smart Manager For WooCommerce – Stock Management, Bulk Edit & more...: by StoreApps – 4.3.18 TinyMCE Advanced: by Andrew Ozz – 5.4.0 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.26 Widgets On Pages: by Todd Halfpenny – 1.4.0 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.4.3 Advanced Order Export For WooCommerce: by AlgolPlus – 3.1.4 – Installed version not tested with active version of WooCommerce 4.3.1 WooCommerce jQuery Cookie Fix: by Splashing Pixels (Roy Ho) – 1.0 – Installed version not tested with active version of WooCommerce 4.3.1 WooCommerce My Account Widget: by PEP – 0.6.6 – Installed version not tested with active version of WooCommerce 4.3.1 WooCommerce Custom Payment Gateway: by WPRuby – 1.3.2 – Installed version not tested with active version of WooCommerce 4.3.1 WooCommerce Ultimate Coupons: by makewebbetter – 1.0.2 – Installed version not tested with active version of WooCommerce 4.3.1 WooCommerce: by Automattic – 4.3.1 WP Donate: by Ketan Ajani – 1.9 WP eCommerce: by WP eCommerce – 3.14.0 WP Fastest Cache Premium: by Emre Vona – 1.5.6 WP Fastest Cache: by Emre Vona – 0.9.0.9 WP File Manager: by mndpsingh287 – 6.5 WP-PageNavi: by Lester 'GaMerZ' Chan – 2.93.3 WP SMTP: by Yehuda Hassine – 1.2.1 WP Orbit Slider: by Virtual Pudding – 1.0 ### Inactive Plugins (7) ### Donation: by Sachin – 0.1 Event Tickets: by Modern Tribe Inc. – 4.12.3 Event Tickets Plus: by Modern Tribe Inc. – 4.10.9 Exit Popup: by Brontobytes – 3.1 Google XML Sitemaps: by Arne Brachhold – 4.1.0 The Events Calendar: by Modern Tribe Inc. – 5.1.5 WP Rocket: by WP Media – 3.3 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (2) ### akeeba-backup-coreupdate.php: by – WPNewsman Pro - Worker Stability Enhancement: by Alex Ladyga - G-Lock Software – 1.0.7 ### Settings ### API Enabled: ? Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #1558 - /shop/ Cart: #1559 - /cart/ Checkout: #1560 - /checkout/ My account: #1561 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Bed-red-cross Version: (update to version 0 is available) Author URL: Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? Not declared ### Templates ### Overrides: Redcross/archive-product.php version 2.0.0 is out of date. The core version is 3.4.0 Redcross/content-product.php version 1.6.4 is out of date. The core version is 3.6.0 Redcross/content-product_cat.php version 1.6.4 is out of date. The core version is 2.6.1 Redcross/content-single-product.php version 1.6.4 is out of date. The core version is 3.6.0 Redcross/content-widget-product.php version - is out of date. The core version is 3.5.5 Redcross/woocommerce/emails/customer-processing-order.php Redcross/single-product-reviews.php version 2.1.0 is out of date. The core version is 4.3.0 Redcross/single-product.php Redcross/taxonomy-product_cat.php Redcross/taxonomy-product_tag.php Outdated Templates: ? Learn how to update ### Action Scheduler ### Complete: 31 Oldest: 2020-07-30 05:25:37 +0000 Newest: 2020-08-10 11:57:36 +0000
Hmmm, I’m wondering whether it might be related to the site not being publicly accessible? Here’s what I’m seeing when accessing https://advdev.pw/:
Link to image: https://d.pr/i/GFIUJ9No only home page is not accessible.
https://advdev.pw/redcross-events/ => From here checkout page can be reached.
Yes it was because home page was not accessible.
Thank You.
- The topic ‘Getting error in checkout after woocommerce update’ is closed to new replies.