• For some reason this site is experiencing an error during the checkout process. After entering the payment information and clicking process payment, an unknown error pops up.

    The error is: ReferenceError: Can’t find variable: wc_cart_fragments_params

    I have disabled plugins, changed to default theme, but no luck in any configuration. I also have another site using the same theme, version of WP and WC, and payment processor with no issues during checkout.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey there, @hhonzell! Thanks for contacting us. I’m happy to help you.

    Do you mind sharing which payment gateway you are using?
    Is this issue happening with more than one payment gateway?

    As I understand this happens every time you try to run an order, correct?

    Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
    Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter hhonzell

    (@hhonzell)

    I’ve only tried with the current processor, using the MX Merchant plug-in. The error occurs every time I click process payment.

    Thread Starter hhonzell

    (@hhonzell)

    ` WordPress Environment
    
    WordPress address (URL): https://badlandsmunitionsco.com
    Site address (URL): https://badlandsmunitionsco.com
    WC Version: 8.9.1
    REST API Version: ? 8.9.1
    Action Scheduler Version: ? 3.7.4
    Log Directory Writable: ?
    WP Version: 6.5.3
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: ? Server Environment
    
    Server Info: nginx
    PHP Version: 8.2.18
    PHP Post Max Size: 100 MB
    PHP Time Limit: 43300
    PHP Max Input Vars: 10000
    cURL Version: 7.81.0
    OpenSSL/3.0.2
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.36-28
    Max Upload Size: 50 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database
    
    WC Database Version: 8.9.1
    WC Database Prefix: wp_g5hkwg_
    Total Database Size: 97.69MB
    Database Data Size: 56.14MB
    Database Index Size: 41.55MB
    wp_g5hkwg_woocommerce_sessions: Data: 2.52MB + Index: 0.08MB + Engine InnoDB
    wp_g5hkwg_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_g5hkwg_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_g5hkwg_woocommerce_order_items: Data: 1.52MB + Index: 0.19MB + Engine InnoDB
    wp_g5hkwg_woocommerce_order_itemmeta: Data: 9.52MB + Index: 5.03MB + Engine InnoDB
    wp_g5hkwg_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_g5hkwg_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_g5hkwg_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_g5hkwg_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_g5hkwg_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_g5hkwg_actionscheduler_actions: Data: 2.52MB + Index: 2.38MB + Engine InnoDB
    wp_g5hkwg_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_actionscheduler_logs: Data: 2.52MB + Index: 1.97MB + Engine InnoDB
    wp_g5hkwg_cky_banners: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_cky_cookie_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_cky_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_g5hkwg_comments: Data: 3.52MB + Index: 1.94MB + Engine InnoDB
    wp_g5hkwg_fusion_form_entries: Data: 0.22MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_fusion_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_fusion_form_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_fusion_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_g5hkwg_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_mailchimp_carts: Data: 0.19MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_mailchimp_jobs: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_options: Data: 2.52MB + Index: 0.08MB + Engine InnoDB
    wp_g5hkwg_postmeta: Data: 16.55MB + Index: 17.06MB + Engine InnoDB
    wp_g5hkwg_posts: Data: 2.52MB + Index: 0.98MB + Engine InnoDB
    wp_g5hkwg_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_revslider_sliders: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_revslider_slides: Data: 0.31MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_term_relationships: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    wp_g5hkwg_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_g5hkwg_termmeta: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    wp_g5hkwg_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_g5hkwg_usermeta: Data: 3.52MB + Index: 5.03MB + Engine InnoDB
    wp_g5hkwg_users: Data: 0.33MB + Index: 0.30MB + Engine InnoDB
    wp_g5hkwg_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wc_customer_lookup: Data: 0.17MB + Index: 0.14MB + Engine InnoDB
    wp_g5hkwg_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_g5hkwg_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_g5hkwg_wc_order_coupon_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    wp_g5hkwg_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_g5hkwg_wc_order_product_lookup: Data: 0.33MB + Index: 0.34MB + Engine InnoDB
    wp_g5hkwg_wc_order_stats: Data: 0.27MB + Index: 0.25MB + Engine InnoDB
    wp_g5hkwg_wc_order_tax_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_g5hkwg_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_g5hkwg_wc_orders_meta: Data: 1.52MB + Index: 1.97MB + Engine InnoDB
    wp_g5hkwg_wc_product_attributes_lookup: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_g5hkwg_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_wc_product_meta_lookup: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
    wp_g5hkwg_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_wcusage_activity: Data: 0.19MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wcusage_campaigns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wcusage_clicks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wcusage_payouts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wcusage_register: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wfpklist_template_data: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_woocommerce_bis_activity: Data: 0.50MB + Index: 0.55MB + Engine InnoDB
    wp_g5hkwg_woocommerce_bis_notifications: Data: 0.20MB + Index: 0.47MB + Engine InnoDB
    wp_g5hkwg_woocommerce_bis_notificationsmeta: Data: 1.52MB + Index: 0.34MB + Engine InnoDB
    wp_g5hkwg_woof_front_builder: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_woof_query_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_woof_sd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_woof_sd_presets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wpmailsmtp_debug_events: Data: 0.23MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_g5hkwg_yoast_indexable: Data: 0.34MB + Index: 0.22MB + Engine InnoDB
    wp_g5hkwg_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_g5hkwg_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_g5hkwg_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_g5hkwg_yoast_prominent_words: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_g5hkwg_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB Post Type Counts
    
    addify_acr_carts: 716
    addify_acr_emails: 1
    addify_acr_logs: 669
    addify_whp: 2
    at_checkout_ob: 6
    attachment: 452
    awb_off_canvas: 3
    customize_changeset: 1
    efw_fees: 58
    fusion_element: 7
    fusion_form: 1
    fusion_tb_layout: 7
    fusion_tb_section: 13
    nav_menu_item: 96
    page: 12
    post: 4
    product: 272
    product_variation: 305
    revision: 10
    shop_coupon: 22
    shop_order: 2019
    shop_order_refund: 5
    wafs: 1
    wp_navigation: 1
    wp_template: 2
    yaymail_template: 11 Security
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (24)
    
    Age Gate: by Phil Baker – 3.4.0
    Avada Builder: by ThemeFusion – 3.11.7
    Avada Core: by ThemeFusion – 5.11.7
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.26.0
    Hide Price and Add to Cart Button: by Addify – 1.4.1
    Iconic Sales Booster for WooCommerce: by Iconic – 1.21.0
    Mailchimp for WooCommerce: by Mailchimp – 4.0.2
    NitroPack: by NitroPack Inc. – 1.14.0
    Perfect Brands WooCommerce: by QuadLayers – 3.3.9
    WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: by WebToffee – 4.5.1
    Rearrange Woocommerce Products: by Aslam Doctor – 4.2.0
    Ultimate Dashboard: by David Vongries – 3.7.14
    Coupon Affiliates for WooCommerce (PRO): by Elliot Sowersby
    RelyWP – 5.13.0
    
    WooCommerce.com Update Manager: by Automattic – 1.0.2
    WooCommerce Advanced Free Shipping: by Jeroen Sormani – 1.1.7
    Woo Back In Stock Notifications: by Woo – 1.7.1
    Checkout Field Editor for WooCommerce (Pro): by ThemeHigh – 3.6.2
    WooCommerce MX Merchant Payments: by Priority – 1.7.7
    HUSKY - Products Filter Professional for WooCommerce: by realmag777 – 3.3.4.4
    WooCommerce: by Automattic – 8.9.1
    Yoast SEO Premium: by Team Yoast – 22.7
    Yoast SEO: by Team Yoast – 22.7
    WP Mail SMTP Pro: by WP Mail SMTP – 4.0.2
    YayMail - WooCommerce Email Customizer: by YayCommerce – 3.5.1 Inactive Plugins (6)
    
    Abandoned Cart Recovery: by Addify – 1.5.0
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.5.1
    Anti-Spam by CleanTalk: by СleanTalk - Anti-Spam Protection <a href="mailto:[email protected]">[email protected]</a> – 6.32.1
    Route App: by Route – 2.2.10
    Slider Revolution: by ThemePunch – 6.6.20
    WP Mail SMTP: by WP Mail SMTP – 4.0.1 Dropin Plugins ()
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: Memcached Redux Must Use Plugins (5)
    
    Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0
    WP Engine Cache Plugin: by WP Engine – 1.3.0
    WP Engine Seamless Login Plugin: by WP Engine – 1.6.1
    WP Engine Security Auditor: by wpengine – 1.1.1
    WP Engine System: by WP Engine – 5.0.1 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: ?
    Enforce Approved Product Download Directories: ?
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: – Logging
    
    Enabled: ?
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 days
    Level threshold: –
    Log directory size: 9 MB WC Pages
    
    Shop base: #6 - /shop/
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #10 - /terms-and-conditions/ Theme
    
    Name: Avada
    Version: 7.11.7
    Author URL: https://themeforest.net/user/ThemeFusion
    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: ? Templates
    
    Overrides: Avada/woocommerce/cart/cart.php
    Avada/woocommerce/checkout/form-pay.php
    Avada/woocommerce/checkout/review-order.php
    Avada/woocommerce/single-product/short-description.php
    Avada/woocommerce/single-product/tabs/additional-information.php
    Avada/woocommerce/single-product/tabs/description.php Back In Stock
    
    Database Version: 1.7.1
    Loopback Test: ? Admin
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    product-variation-management
    product-virtual-downloadable
    product-external-affiliate
    product-grouped
    product-linked
    product-pre-publish-modal
    product-custom-fields
    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
    settings
    async-product-editor-category-field
    launch-your-store
    
    Daily Cron: ? Next scheduled: 2024-05-24 01:53:48 -07:00
    Options: ?
    Notes: 64
    Onboarding: skipped Action Scheduler
    
    Canceled: 5
    Oldest: 2024-04-23 09:34:40 +0000
    Newest: 2024-05-22 15:32:53 +0000
    
    Complete: 7,443
    Oldest: 2024-04-23 04:00:56 +0000
    Newest: 2024-05-23 14:14:02 +0000
    
    Failed: 3
    Oldest: 2024-05-22 19:41:35 +0000
    Newest: 2024-05-22 23:16:17 +0000
    
    Pending: 8
    Oldest: 2024-05-23 23:16:17 +0000
    Newest: 2024-05-26 06:26:02 +0000 Status report information
    
    Generated at: 2024-05-23 07:38:44 -07:00
    `
    Thread Starter hhonzell

    (@hhonzell)

    error below in log

    2024-05-23T00:38:22+00:00Critical Uncaught Error: Call to a member function is_wc_shop_loop_enabled() on null in /nas/content/live/badlandsammo/wp-content/plugins/fusion-builder/inc/lib/inc/class-fusion-woocommerce.php:103 Additional context{ “error”: { “type”: 1, “file”: “\/nas\/content\/live\/badlandsammo\/wp-content\/plugins\/fusion-builder\/inc\/lib\/inc\/class-fusion-woocommerce.php”, “line”: 103 }, “backtrace”: [ “”, “#0 \/nas\/content\/live\/badlandsammo\/wp-includes\/class-wp-hook.php(324): Fusion_WooCommerce->wp(Object(WP))”, “#1 \/nas\/content\/live\/badlandsammo\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)”, “#2 \/nas\/content\/live\/badlandsammo\/wp-includes\/plugin.php(565): WP_Hook->do_action(Array)”, “#3 \/nas\/content\/live\/badlandsammo\/wp-includes\/class-wp.php(830): do_action_ref_array(‘wp’, Array)”, “#4 \/nas\/content\/live\/badlandsammo\/wp-includes\/functions.php(1336): WP->main(”)”, “#5 \/nas\/content\/live\/badlandsammo\/wp-blog-header.php(16): wp()”, “#6 \/nas\/content\/live\/badlandsammo\/index.php(17): require(‘\/nas\/content\/li…’)”, “#7 {main}”, “thrown” ] }

    Thread Starter hhonzell

    (@hhonzell)

    To add to this, I just installed a stripe payment integration and a test order successfully went through, making me think there may be a conflict with the MX Merchant plugin.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello hhonzell

    Thank you for your reply.

    After reviewing the error log, I noticed that the error is caused by one of the plugins used by the Avada theme.

    Uncaught Error: Call to a member function is_wc_shop_loop_enabled() on null in /nas/content/live/badlandsammo/wp-content/plugins/fusion-builder/inc/lib/inc/class-fusion-woocommerce.php

    Could you contact Avada support and ask them about this error?
    Their insights might help us understand what is causing this error.

    Looking forward to your response. ??

    Best regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wc_cart_fragments_params’ is closed to new replies.