• Resolved savvasgrill

    (@savvasgrill)


    Hi, can you please help me idendify the reason i get this error at checkout? I get this message for all payment gateways: “Error processing checkout. Please try again.”

    I am just trying to place some test orders but cannot make any payment not even COD.

    At the time i experienced the error i got this email from my hosting:
    2023/12/17 19:38:06 [error] 46778#46778: *5304 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: WC_Order::set_billing_address(): Argument #1 ($address) must be of type array, string given, called in /www/ellecream_847/public/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 415 and defined in /www/ellecream_847/public/wp-content/plugins/woocommerce/includes/class-wc-order.php:1126

    Thank you!

    ` WordPress Environment
    
    WordPress address (URL): https://ellecream.com
    Site address (URL): https://ellecream.com
    WC Version: 8.4.0
    REST API Version: ✔ 8.4.0
    WC Blocks Version: ✔ 11.6.2
    Action Scheduler Version: ✔ 3.7.0
    Log Directory Writable: ✔
    WP Version: 6.4.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US
    External object cache: – Server Environment
    
    Server Info: nginx/1.25.2
    PHP Version: 8.0.30
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 10.11.6-MariaDB-1:10.11.6+maria~ubu2004
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔ Database
    
    WC Database Version: 8.4.0
    WC Database Prefix: wp_
    Total Database Size: 23.23MB
    Database Data Size: 16.14MB
    Database Index Size: 7.09MB
    wp_woocommerce_sessions: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 2.52MB + Index: 1.55MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 1.52MB + Index: 1.84MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB
    wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_kbp_countdown_entry: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_kbp_form_entry: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_kbp_form_entrymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_kbp_query_index: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ksp_layers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ksp_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ksp_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_automation_runs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_mailpoet_automation_run_subjects: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.23MB + Engine InnoDB
    wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mypos_pending_payments_schedule: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mypos_upsells: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 3.05MB + Index: 0.08MB + Engine InnoDB
    wp_postmeta: Data: 1.39MB + Index: 0.38MB + Engine InnoDB
    wp_posts: Data: 2.47MB + Index: 0.22MB + Engine InnoDB
    wp_post_smtp_logmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_post_smtp_logs: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    wp_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.05MB + 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
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB Post Type Counts
    
    attachment: 127
    custom_css: 1
    customize_changeset: 294
    kadence_element: 11
    kadence_wootemplate: 3
    kt_product_tabs: 1
    mailpoet_page: 1
    nav_menu_item: 40
    page: 14
    post: 1
    product: 75
    revision: 250
    shop_order_placehold: 7
    wp_block: 1
    wp_navigation: 1 Security
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ❌Error messages should not be shown to visitors. Active Plugins (16)
    
    Kadence Blocks - PRO Extension: by Kadence WP – 2.1.5
    Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 3.1.26
    Kadence Pro - Premium addon for the Kadence Theme: by Kadence WP – 1.0.14
    Kadence Simple Share: by Kadence WP – 1.2.10
    Kadence Slider: by Kadence WP – 2.3.6
    Kadence Shop Kit: by Kadence WP – 2.0.27
    MailPoet: by MailPoet – 4.40.0
    Woocommerce myPOS Checkout: by myPOS Europe LTD – 1.3.24
    Pinterest for WooCommerce: by WooCommerce – 1.3.16
    Post SMTP: by Post SMTP – 2.8.6
    Payment Plugins for PayPal WooCommerce: by Payment Plugins
    [email protected] – 1.0.40
    
    Rank Math SEO PRO: by Rank Math – 3.0.51
    Rank Math SEO: by Rank Math – 1.0.208.1
    PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.7.5
    WooCommerce: by Automattic – 8.4.0
    Asset CleanUp Pro: Page Speed Booster: by Gabe Livan – 1.2.4.7 Inactive Plugins (2)
    
    GDPR Cookie Compliance: by Moove Agency – 4.12.8
    Google Listings and Ads: by WooCommerce – 2.5.13 Must Use Plugins (2)
    
    Asset CleanUp Pro: Plugin Filtering: by Gabriel Livan – 1.0
    Kinsta Must-use Plugins: by Kinsta Team – 3.0.1 Settings
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    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 Woo.com: –
    Enforce Approved Product Download Directories: ✔
    HPOS feature screen enabled: ✔
    HPOS feature enabled: ✔
    Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
    HPOS data sync enabled: – WC Pages
    
    Shop base: #13 - /shop/
    Cart: #14 - /cart/
    Checkout: #15 - /checkout/
    My account: #16 - /my-account/
    Terms and conditions: #58 - /terms-and-conditions/ Theme
    
    Name: Kadence Child
    Version: 1.0.0
    Author URL: https://www.kadencewp.com/
    Child Theme: ✔
    Parent Theme Name: Kadence
    Parent Theme Version: 1.1.49
    Parent Theme Author URL: https://www.kadencewp.com/
    WooCommerce Support: ✔ Templates
    
    Overrides: /www/ellecream_847/public/wp-content/plugins/kadence-woo-extras/lib/gallery/product-image.php Admin
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    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
    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: customize-store
    minified-js
    new-product-management-experience
    product-external-affiliate
    settings
    async-product-editor-category-field
    
    Daily Cron: ✔ Next scheduled: 2023-12-18 20:24:21 +02:00
    Options: ✔
    Notes: 71
    Onboarding: completed MailPoet
    
    Sending Method: PHPMail
    Send all site's emails with: Default WordPress sending method
    Task Scheduler method: Action Scheduler
    Cron ping URL: https://ellecream.com?mailpoet_router&endpoint=cron_daemon&action=ping Action Scheduler
    
    Complete: 5,602
    Oldest: 2023-11-28 22:25:28 +0200
    Newest: 2023-12-17 22:56:57 +0200
    
    Failed: 2
    Oldest: 2023-12-09 15:19:26 +0200
    Newest: 2023-12-17 22:06:14 +0200
    
    Pending: 4
    Oldest: 2023-12-17 22:58:57 +0200
    Newest: 2023-12-17 23:53:02 +0200 Status report information
    
    Generated at: 2023-12-17 22:59:09 +02:00
    `
    • This topic was modified 2 years, 5 months ago by savvasgrill.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @savvasgrill,

    Based on the error message, this could be a conflict with another plugin that is incorrectly modifying the billing address details.

    To troubleshoot, I would recommend the following steps:

    1. Deactivate all plugins except WooCommerce and see if the error still occurs. If it doesn’t, reactivate your plugins one by one to identify which one is causing the conflict.

    2. If the issue persists after deactivating all plugins, try switching to a default theme (like StoreFront) and check if the error still exists.

    If you’re still experiencing issues after these steps, please get back to us, and we will be more than happy to help.

    Thread Starter savvasgrill

    (@savvasgrill)

    Great, thank you!

    Thread Starter savvasgrill

    (@savvasgrill)

    Can you please provide a php snipped code to hide update cart button and update cart automatically on all devices?

    Hi @savvasgrill,

    To hide the update cart button, you will first need to add a CSS code and hide the button.

    You will need to head over to your WordPress dashboard > Appearance > Customize, then add the code CSS below:

    input[name=’update_cart’] {

    display: none !important;

    }

    Now that the button is hidden, the next step is to “click” the button via JQuery and let WooCommerce update the cart totals. This code will trigger a “click” on the hidden Update Cart button.

    Add the following code in the functions.php file:

    add_action( 'wp_footer', 'auto_update_cart' );
    
    function auto_update_cart() {
    
    if (is_cart()) {
    
    ?>
    
    <script type="text/javascript">
    
    jQuery('div.woocommerce').on('click', 'input.qty', function(){
    
    jQuery("[name='update_cart']").trigger("click");
    
    });
    
    </script>
    
    <?php
    
    }
    
    }

    Please try the above code on a staging site and be sure to save the changes and refresh the page to see if they take effect.

    Happy to help!

    Thread Starter savvasgrill

    (@savvasgrill)

    Thank you. I did that but i see no effect. Should i double ckeck something?

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hey @savvasgrill,

    Yes, it would be best to double-check a few things:

    1. Ensure that the CSS and PHP codes are placed in the correct locations. The CSS should be in Appearance > Customize > Additional CSS, and the PHP code should be in your child theme’s functions.php file.
    2. Clear your website cache. If you are using a caching plugin, please clear your cache so your changes can take effect.
    3. Check your browser’s console for any JavaScript errors. If there are any, they could prevent the script from executing properly.
    4. There could be a conflict if your theme or another plugin also uses the wp_footer action. Try changing the priority of the action by adding a third parameter to the add_action function like so: add_action( 'wp_footer', 'auto_update_cart', 99 );

    Please note that writing or providing custom code is not within the scope of our support policy. If you’ve checked all of these and the issue persists, we recommend asking development questions on the #developers channel of the WooCommerce Community Slack or WooCommerce Advanced Facebook group. Many of our developers hang out there and will be able to offer insights into your query. You can also seek help from the following:

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error processing checkout. Please try again.’ is closed to new replies.