• Resolved zmahmood

    (@zmahmood)


    i am receving the SyntaxError: Unexpected end of Json input at the checkout page some times it work fine and some times giving error but even the error is showing order is placed and the page is not redirecting to the thankyou page.

    find the attaced image of error
    https://snipboard.io/Wf4LYC.jpg

    bleow if the system status report
    ### WordPress Environment ###
    
    WordPress address (URL): https://
    Site address (URL): https://
    WC Version: 5.8.0
    REST API Version: ? 5.8.0
    WC Blocks Version: ? 5.9.1
    Action Scheduler Version: ? 3.3.0
    WC Admin Version: ? 2.7.2
    Log Directory Writable: ?
    WP Version: 5.8.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: –
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.25
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.79.1
    OpenSSL/1.1.1l
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.31-MariaDB
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.8.0
    WC Database Prefix: wpio_
    Total Database Size: 859.43MB
    Database Data Size: 599.26MB
    Database Index Size: 260.17MB
    wpio_woocommerce_sessions: Data: 5.01MB + Index: 0.08MB + Engine InnoDB
    wpio_woocommerce_api_keys: Data: 0.01MB + Index: 0.02MB + Engine InnoDB
    wpio_woocommerce_attribute_taxonomies: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
    wpio_woocommerce_downloadable_product_permissions: Data: 0.01MB + Index: 0.03MB + Engine InnoDB
    wpio_woocommerce_order_items: Data: 11.78MB + Index: 3.26MB + Engine InnoDB
    wpio_woocommerce_order_itemmeta: Data: 77.91MB + Index: 63.67MB + Engine InnoDB
    wpio_woocommerce_tax_rates: Data: 0.01MB + Index: 0.03MB + Engine InnoDB
    wpio_woocommerce_tax_rate_locations: Data: 0.01MB + Index: 0.02MB + Engine InnoDB
    wpio_woocommerce_shipping_zones: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
    wpio_woocommerce_shipping_zone_locations: Data: 0.01MB + Index: 0.02MB + Engine InnoDB
    wpio_woocommerce_shipping_zone_methods: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
    wpio_woocommerce_payment_tokens: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
    wpio_woocommerce_payment_tokenmeta: Data: 0.01MB + Index: 0.02MB + Engine InnoDB
    wpio_woocommerce_log: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
    wpio_actionscheduler_actions: Data: 12.52MB + Index: 13.47MB + Engine InnoDB
    wpio_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpio_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpio_actionscheduler_logs: Data: 10.52MB + Index: 7.34MB + Engine InnoDB
    wpio_cartflows_ca_cart_abandonment: Data: 6.55MB + Index: 0.17MB + Engine InnoDB
    wpio_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpio_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpio_commentmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wpio_comments: Data: 27.29MB + Index: 17.05MB + Engine InnoDB
    wpio_ewwwio_images: Data: 9.77MB + Index: 6.54MB + Engine InnoDB
    wpio_ewwwio_queue: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
    wpio_gla_budget_recommendations: Data: 0.20MB + Index: 0.11MB + Engine InnoDB
    wpio_gla_merchant_issues: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpio_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpio_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpio_jazz_cash_order_ref: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_links: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
    wpio_mailchimp_carts: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
    wpio_mclean_refs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wpio_mclean_scan: Data: 0.20MB + Index: 0.05MB + Engine InnoDB
    wpio_options: Data: 217.32MB + Index: 8.17MB + Engine InnoDB
    wpio_postmeta: Data: 117.38MB + Index: 77.25MB + Engine InnoDB
    wpio_posts: Data: 14.28MB + Index: 7.49MB + Engine InnoDB
    wpio_revslider_css: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wpio_revslider_css_bkp: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wpio_revslider_layer_animations: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
    wpio_revslider_layer_animations_bkp: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
    wpio_revslider_navigations: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
    wpio_revslider_navigations_bkp: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
    wpio_revslider_sliders: Data: 0.04MB + Index: 0.00MB + Engine InnoDB
    wpio_revslider_sliders_bkp: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wpio_revslider_slides: Data: 0.68MB + Index: 0.00MB + Engine InnoDB
    wpio_revslider_slides_bkp: Data: 0.76MB + Index: 0.00MB + Engine InnoDB
    wpio_revslider_static_slides: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
    wpio_revslider_static_slides_bkp: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
    wpio_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpio_stock_log: Data: 4.80MB + Index: 2.64MB + Engine MyISAM
    wpio_termmeta: Data: 0.05MB + Index: 0.08MB + Engine InnoDB
    wpio_terms: Data: 0.04MB + Index: 0.02MB + Engine InnoDB
    wpio_term_relationships: Data: 0.25MB + Index: 0.14MB + Engine InnoDB
    wpio_term_taxonomy: Data: 0.03MB + Index: 0.03MB + Engine InnoDB
    wpio_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpio_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpio_ualp_user_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_usermeta: Data: 10.77MB + Index: 8.03MB + Engine InnoDB
    wpio_users: Data: 1.26MB + Index: 0.36MB + Engine InnoDB
    wpio_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_wc_admin_note_actions: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
    wpio_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_wc_customer_lookup: Data: 5.26MB + Index: 2.02MB + Engine InnoDB
    wpio_wc_download_log: Data: 0.01MB + Index: 0.02MB + Engine InnoDB
    wpio_wc_order_coupon_lookup: Data: 0.04MB + Index: 0.05MB + Engine InnoDB
    wpio_wc_order_product_lookup: Data: 12.77MB + Index: 10.53MB + Engine InnoDB
    wpio_wc_order_stats: Data: 4.76MB + Index: 3.77MB + Engine InnoDB
    wpio_wc_order_tax_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpio_wc_product_meta_lookup: Data: 0.70MB + Index: 0.63MB + Engine InnoDB
    wpio_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_wc_tax_rate_classes: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
    wpio_wc_webhooks: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
    wpio_wfpklist_template_data: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    wpio_wmfo_fraud_attempts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_wmfo_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_woo_sales_country_region: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_wsal_metadata: Data: 3.52MB + Index: 6.03MB + Engine InnoDB
    wpio_wsal_occurrences: Data: 0.22MB + Index: 0.30MB + Engine InnoDB
    wpio_wss_log: Data: 4.52MB + Index: 0.00MB + Engine InnoDB
    wpio_yith_wcaf_affiliates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_yith_wcaf_clicks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_yith_wcaf_commissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_yith_wcaf_commission_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_yith_wcaf_payments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_yith_wcaf_payment_commission: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_yith_wcaf_payment_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpio_yith_wcwl: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
    wpio_yith_wcwl_lists: Data: 0.01MB + Index: 0.02MB + Engine InnoDB
    wpio_yoast_indexable: Data: 32.55MB + Index: 16.81MB + Engine InnoDB
    wpio_yoast_indexable_hierarchy: Data: 1.39MB + Index: 3.23MB + Engine InnoDB
    wpio_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpio_yoast_primary_term: Data: 0.20MB + Index: 0.22MB + Engine InnoDB
    wpio_yoast_seo_links: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wpio_yoast_seo_meta: Data: 1.26MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    aam_policy: 1
    attachment: 17151
    blocked_user: 78
    br_labels: 1
    custom_css: 2
    elementor_library: 3
    fgf_master_log: 172
    fgf_rules: 6
    jetpack_migration: 2
    jp_img_sitemap: 3
    jp_img_sitemap_index: 1
    jp_sitemap: 1
    jp_sitemap_master: 1
    jp_vid_sitemap: 1
    nav_menu_item: 88
    oembed_cache: 25
    page: 18
    popup: 1
    popup_theme: 6
    post: 6
    product: 3294
    product_variation: 2079
    revision: 33
    shop_coupon: 595
    shop_order: 54007
    shop_order_refund: 820
    static_block: 1
    wpcf7_contact_form: 2
    wpforms: 1
    ywdpd_discount: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (40) ###
    
    Redux: by Extendify – 4.3.1
    A2 Optimized WP: by A2 Hosting – 2.1.3.7
    Advanced Access Manager: by Vasyl Martyniuk <[email protected]> – 6.8.0
    Akismet Anti-Spam: by Automattic – 4.2.1
    Async JavaScript: by Frank Goossens (futtta) – 2.21.08.31
    Blackhole for Bad Bots: by Jeff Starr – 3.2
    Cloudflare: by Cloudflare
    Inc. – 4.7.0
    
    Contact Form 7: by Takayuki Miyoshi – 5.5.2
    WooCommerce Coupon Generator: by Jeroen Sormani – 1.2.0
    Elementor: by Elementor.com – 3.4.7
    Envato Market: by Envato – 2.0.6
    Facebook for WooCommerce: by Facebook – 2.6.5
    Google Listings and Ads: by WooCommerce – 1.5.1
    Site Kit by Google: by Google – 1.44.0
    Heartbeat Control by WP Rocket: by WP Rocket – 2.0
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.4.2
    KingComposer: by King-Theme – 2.9.6
    Image optimization service by Optimole: by Optimole – 3.2.1
    WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels: by WebToffee – 2.7.4
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Rename wp-login.php: by Ella van Durpe – 2.6.0
    Slider Revolution: by ThemePunch – 6.2.15
    Secure Admin IP: by Michal Novák – 2.0
    Send SMS: by Lifetimesms.com – 1.7.6
    Tokoo Extensions: by MadrasThemes – 1.1.12
    User Role Editor: by Vladimir Garagulya – 4.60.2
    Warp iMagick - Image Compressor: by PageSpeed Club – 1.9.1
    WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.13
    Woocommerce delete product images: by Husain Ahmed – 1.0.2
    Free Shipping Bar for WooCommerce: by VillaTheme – 1.1.5
    Woo Manage Fraud Orders: by Prasidhda Malla – 2.5.0
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.1.9
    WooCommerce Google Analytics Integration: by WooCommerce – 1.5.3
    Stock Manager for WooCommerce: by StoreApps – 2.8.2.1
    WooCommerce: by Automattic – 5.8.0
    Yoast SEO: by Team Yoast – 17.4
    WP 404 Auto Redirect to Similar Post: by hwk-fr – 1.0.3
    WP Activity Log for WooCommerce: by WP White Security – 1.3.1
    WP Activity Log: by WP White Security – 4.3.3.1
    WPForms Lite: by WPForms – 1.7.0
    
    ### Inactive Plugins (5) ###
    
    Autoptimize: by Frank Goossens (futtta) – 2.9.2
    EWWW Image Optimizer: by Exactly WWW – 6.3.0
    Free Gifts for WooCommerce: by FantasticPlugins – 7.0
    User Activity Log: by Solwin Infotech – 1.4.7
    YITH WooCommerce Affiliates: by YITH – 1.10.0
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: PKR (?)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 0
    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: #5 - /shop/
    Cart: #6 - /cart/
    Checkout: #7 - /checkout/
    My account: #8 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Tokoo Child
    Version: 1.0.2
    Author URL: https://madrasthemes.com/
    Child Theme: ?
    Parent Theme Name: Tokoo
    Parent Theme Version: 1.1.12
    Parent Theme Author URL: https://madrasthemes.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: tokoo/woocommerce/myaccount/form-login.php
    tokoo/woocommerce/order/order-details-customer.php
    tokoo/woocommerce/product-searchform.php
    
    ### Action Scheduler ###
    
    Complete: 26,938
    Oldest: 2021-10-05 10:25:04 +0000
    Newest: 2021-11-05 10:15:14 +0000
    
    Failed: 5,401
    Oldest: 2021-08-13 07:13:25 +0000
    Newest: 2021-11-04 08:37:36 +0000
    
    Pending: 13
    Oldest: 2021-11-05 10:20:54 +0000
    Newest: 2021-11-11 14:53:19 +0000
    
    ### Status report information ###
    
    Generated at: 2021-11-05 15:20:58 +05:00
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Abiola Ogodo

    (@oaoyadeyi)

    To determine the cause of the issue:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.`

    MayKato

    (@maykato)

    Hi @zmahmood

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SyntaxError: Unexpected end of Json input’ is closed to new replies.