Checkout page issue
-
Hi,
Woocommerce is showing the following issue in the latest version of the plugin:
Uncaught (in promise) SyntaxError: Unexpected token ‘<‘, “<span clas”… is not valid JSON at JSON.parse (<anonymous>) at checkout.min.js?ver=7.5.1:1:426
Due to this error, we are not able to place an order. Can you please fix this?
-
If we disable Block UI ajax then it’s working fine.
Hi @kiranthory
Can you please share the screenshot of which exact option you disabled in the WooCommerce settings? Also could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.Hi Amir,
I tried to disable the blockUI script by adding the following code but it didn’t work.
add_action( 'wp_enqueue_scripts', 'disable_checkout_ajax' ); function disable_checkout_ajax() { if ( is_checkout() ) { wp_dequeue_script( 'jquery-blockui' ); } }
So I have added css to remove the BlockUI element just for a temporary solution.
.woocommerce-checkout .blockUI.blockOverlay{ display:none!important; }
Please see the below system report:
` ### WordPress Environment ### WordPress address (URL): https://innovative-tags.com.au Site address (URL): https://innovative-tags.com.au WC Version: 7.5.1 REST API Version: ? 7.5.1 WC Blocks Version: ? 9.6.6 Action Scheduler Version: ? 3.5.4 Log Directory Writable: ? WP Version: 6.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: – Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.33 PHP Post Max Size: 512 MB PHP Time Limit: 900 PHP Max Input Vars: 10000 cURL Version: 7.88.0 OpenSSL/1.1.1t SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.38-MariaDB-cll-lve Max Upload Size: 512 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.5.1 WC Database Prefix: wp4i_ Total Database Size: 67.07MB Database Data Size: 49.61MB Database Index Size: 17.46MB wp4i_woocommerce_sessions: Data: 5.02MB + Index: 0.16MB + Engine InnoDB wp4i_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp4i_woocommerce_order_items: Data: 0.25MB + Index: 0.09MB + Engine InnoDB wp4i_woocommerce_order_itemmeta: Data: 2.52MB + Index: 1.89MB + Engine InnoDB wp4i_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp4i_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_actionscheduler_actions: Data: 2.02MB + Index: 0.78MB + Engine InnoDB wp4i_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_actionscheduler_logs: Data: 1.02MB + Index: 0.42MB + Engine InnoDB wp4i_ac_abandoned_cart_history_lite: Data: 5.02MB + Index: 0.00MB + Engine InnoDB wp4i_ac_email_templates_lite: Data: 0.03MB + Index: 0.00MB + Engine InnoDB wp4i_ac_guest_abandoned_cart_history_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_ac_sent_history_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_aioseo_cache: Data: 0.13MB + Index: 0.03MB + Engine InnoDB wp4i_aioseo_notifications: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wp4i_aioseo_posts: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp4i_commentmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp4i_comments: Data: 0.41MB + Index: 0.38MB + Engine InnoDB wp4i_eg_grids: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_eg_item_elements: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_eg_item_skins: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp4i_eg_navigation_skins: Data: 0.14MB + Index: 0.02MB + Engine InnoDB wp4i_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_gf_entry: Data: 0.45MB + Index: 0.17MB + Engine InnoDB wp4i_gf_entry_meta: Data: 2.52MB + Index: 1.92MB + Engine InnoDB wp4i_gf_entry_notes: Data: 0.28MB + Index: 0.14MB + Engine InnoDB wp4i_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_gf_form_meta: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wp4i_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_gf_form_view: Data: 0.28MB + Index: 0.23MB + Engine InnoDB wp4i_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp4i_gla_merchant_issues: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wp4i_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp4i_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_ig_actions: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp4i_ig_blocked_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_ig_campaigns: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp4i_ig_contactmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_ig_contacts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp4i_ig_contacts_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_ig_contact_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_ig_custom_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_ig_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_ig_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp4i_ig_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_ig_lists_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_ig_mailing_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_ig_queue: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wp4i_ig_sending_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_ig_temp_import: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_ig_unsubscribe_feedback: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_ig_wc_cart: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp4i_ig_wc_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp4i_ig_workflows: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_ig_workflows_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_options: Data: 7.22MB + Index: 0.25MB + Engine InnoDB wp4i_pmxe_exports: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp4i_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wp4i_pmxe_posts: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp4i_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_postmeta: Data: 7.52MB + Index: 6.81MB + Engine InnoDB wp4i_posts: Data: 7.47MB + Index: 0.38MB + Engine InnoDB wp4i_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp4i_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_revslider_slides: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp4i_revslider_slides_bkp: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp4i_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_term_relationships: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp4i_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_usermeta: Data: 1.52MB + Index: 0.48MB + Engine InnoDB wp4i_users: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp4i_wccs_conditions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_wccs_condition_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp4i_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp4i_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_wc_customer_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wp4i_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_wc_order_product_lookup: Data: 0.19MB + Index: 0.22MB + Engine InnoDB wp4i_wc_order_stats: Data: 0.09MB + Index: 0.05MB + Engine InnoDB wp4i_wc_order_tax_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp4i_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp4i_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_woof_query_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp4i_wpr_rocket_cache: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp4i_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp4i_yoast_indexable: Data: 1.52MB + Index: 0.59MB + Engine InnoDB wp4i_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp4i_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp4i_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp4i_yoast_prominent_words: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp4i_yoast_seo_links: Data: 0.09MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### astra_adv_header: 1 astra-advanced-hook: 3 attachment: 727 custom_css: 1 nav_menu_item: 26 oembed_cache: 8 page: 21 popup: 3 popup_theme: 9 post: 11 product: 110 product_variation: 150 revision: 277 shop_order: 969 wc_conditional_fee: 35 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (32) ### Gravity Forms: by Gravity Forms – 2.7.3 Ultimate Addons for WPBakery Page Builder: by Brainstorm Force – 3.19.13 Akismet Anti-Spam: by Automattic – 5.1 All in One SEO: by All in One SEO Team – 4.3.4.1 All-in-One WP Migration: by ServMask – 7.73 Astra Pro: by Brainstorm Force – 4.1.4 Clear Cache For Me: by Webhead LLC – 2.0 Icegram Express - Email Subscribers, Newsletters and Marketing Automation Plugin: by Icegram – 5.6.1 Essential Grid: by ThemePunch – 3.0.17.1 Google Listings and Ads: by WooCommerce – 2.4.2 Gravity Forms Zero Spam: by GravityKit – 1.3 WPBakery Page Builder: by Michael M - WPBakery.com – 6.10.0 Popup Maker: by Popup Maker – 1.18.1 Really Simple SSL: by Really Simple Plugins – 6.2.3 reCaptcha for WooCommerce: by I Thirteen Web Solution – 2.15 Slider Revolution: by ThemePunch – 6.6.12 Spiff Connect: by Spiff Pty. Ltd. – 2.0.55 Swap Google Fonts Display: by WP Speed Matters – 1.1.1 Category Order and Taxonomy Terms Order: by Nsp-Code – 1.7.5 WooCommerce Tiered Price Table: by bycrik – 3.4.1 TNT ExpressConnect WooCommerce: by Alex Kebbell – 1.1 User Menus: by Code Atlantic – 1.3.1 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.5.1 WooCommerce Extra Fees Plugin: by theDotstore – 3.9.2 Abandoned Cart Lite for WooCommerce: by Tyche Softwares – 5.14.1 WooCommerce Stripe Gateway: by WooCommerce – 7.2.0 Products Filter for WooCommerce: by realmag777 – 2.2.9.4 StarShipIT Services: by StarShipIT – 3.0.0 WooCommerce: by Automattic – 7.5.1 Yoast SEO Premium: by Team Yoast – 15.8.2 WP Mail SMTP: by WPForms – 3.7.0 Multi-Step Checkout for WooCommerce: by SilkyPress – 2.23 ### Inactive Plugins (2) ### Custom Buttons for WooCommerce: by Puri.io – 1.2.2 WP Rocket: by WP Media – 3.12.5.2 ### Settings ### API Enabled: ? Force SSL: – Currency: AUD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: simple (simple) grouped (grouped) variable (variable) external (external) Taxonomies: Product Visibility: exclude-from-search (exclude-from-search) exclude-from-catalog (exclude-from-catalog) 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: – Enforce Approved Product Download Directories: – Order datastore: WC_Order_Data_Store_CPT ### WC Pages ### Shop base: #40 - /shop/ Cart: #41 - /cart/ Checkout: #42 - /checkout/ My account: #43 - /my-account/ Terms and conditions: #30 - /terms-and-conditions/ ### Theme ### Name: Innovative Tags Version: 1.0.0 Author URL: https://wpastra.com/about/ Child Theme: ? Parent Theme Name: Astra Parent Theme Version: 4.1.3 Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme WooCommerce Support: ? ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience product-variation-management settings Daily Cron: ? Next scheduled: 2023-04-12 08:47:39 +10:00 Options: ? Notes: 104 Onboarding: completed ### Action Scheduler ### Complete: 2,197 Oldest: 2023-03-12 11:21:04 +1100 Newest: 2023-04-12 10:06:05 +1000 Failed: 55 Oldest: 2022-04-27 05:21:23 +1000 Newest: 2023-04-11 21:13:52 +1000 Pending: 7 Oldest: 2023-04-12 10:21:05 +1000 Newest: 2023-04-12 20:22:44 +1000 ### Status report information ### Generated at: 2023-04-12 10:09:44 +10:00 `
Hey,
It’s sorted. Please ignore the request.
Hi @kiranthory
I’m glad that the issue has been resolved here already! ??
I will be marking this thread as resolved. Should you have further inquiries, kindly create a new topic here.
Thanks!
@kiranthory – did you just leave it with the Block UI turned off in CSS or did you find out what the real cause was?
Hi @robbieadair
I couldn’t recall what the problem was. Could you please clarify the issue so that I may provide you with a solution if one exists?
Thank You.
Hi @robbieadair
did you just leave it with the Block UI turned off in CSS or did you find out what the real cause was?
It sounds like you’re dealing with a problem similar to the one we’ve just talked about, right?
If that’s the case, we’d really appreciate it if you could initiate a ?? new topic in our support forum. This aligns with the ?? forum’s best practices and lets us focus on your issue individually. By starting a new topic, we can concentrate on your unique situation. Plus, it makes it easier for other users who might be facing the same problem to locate and learn from the conversation.
Thanks!
- The topic ‘Checkout page issue’ is closed to new replies.