• Resolved rdanielwhite

    (@rdanielwhite)


    Under WooCommerce – Settings – Tax:
    Warning: Undefined array key “id” in /…/wp-content/plugins/woocommerce-services/classes/class-wc-connect-taxjar-integration.php on line 216

    WordPress 6.1.1
    WooCommerce 7.5.1
    WooCommerce Payments 5.6.2
    PHP 8.2

    I’ve tried to clear most everything in the WooCommerce > Status > Tools. I did not “delete WooCommerce tax rates” yet, but perhaps that is the next step?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @rdanielwhite

    Thanks for reaching out!

    I understand that you are seeing the warning message above when navigating to WooCommerce > Settings >Tax, correct?

    For us to check this further, please provide us with a screenshot of the following settings below:

    • General Settings (WooCommerce > Settings > General)
    • Tax Settings (WooCommerce > Settings > Tax)

    Additonally, I’d like to understand your site properly, please share your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Thanks!

    Thread Starter rdanielwhite

    (@rdanielwhite)

    Thank you so much!

    WordPress Environment
    
    WordPress address (URL): https://www.plantbooster.us
    Site address (URL): https://www.plantbooster.us
    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.1.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: – Server Environment Server Info: Apache/2.4.41 (CentOS) OpenSSL/1.0.2k-fips mod_vhost_ldap/2.4.0
    PHP Version: 8.2.1
    PHP Post Max Size: 64 MB
    PHP Time Limit: 180
    PHP Max Input Vars: 1000
    cURL Version: 7.29.0
    NSS/3.53.1 SUHOSIN Installed: –
    MySQL Version: 10.4.22-MariaDB-1:10.4.22+maria~buster
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database WC Database Version: 7.5.1
    WC Database Prefix: wp_
    Total Database Size: 23.13MB
    Database Data Size: 18.97MB
    Database Index Size: 4.16MB
    wp_woocommerce_sessions: Data: 0.02MB + 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.27MB + 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: 0.11MB + Index: 0.11MB + 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.22MB + 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_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailpoet_automation_runs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.02MB + 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.03MB + 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.06MB + Engine InnoDB
    wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + 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_options: Data: 4.03MB + Index: 0.09MB + Engine InnoDB
    wp_postmeta: Data: 0.41MB + Index: 0.14MB + Engine InnoDB
    wp_posts: Data: 7.39MB + Index: 0.14MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + 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_usermeta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + 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_order_coupon_lookup: 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: 129
    customize_changeset: 43
    mailpoet_page: 1
    nav_menu_item: 15
    page: 20
    post: 17
    product: 3
    product_variation: 27
    revision: 377
    shop_order: 3
    wp_global_styles: 2 Security Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (6) Jetpack: by Automattic – 11.9.1
    Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.25.13
    Mailchimp for WooCommerce: by Mailchimp – 2.8.1
    WooCommerce Payments: by Automattic – 5.6.2
    WooCommerce Shipping & Tax: by WooCommerce – 2.2.4
    WooCommerce: by Automattic – 7.5.1 Inactive Plugins (0) Must Use Plugins (1) WordPress automation by Installatron: by – 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)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription) 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: ?
    Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #15 - /shop/
    Cart: #16 - /shop/cart/
    Checkout: #17 - /shop/checkout/
    My account: #18 - /my-account/
    Terms and conditions: ? Page not set Theme Name: Neve
    Version: 3.5.6
    Author URL: https://themeisle.com
    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: neve/woocommerce/product-searchform.php 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-03-27 00:48:31 -04:00
    Options: ?
    Notes: 50
    Onboarding: completed WooCommerce Payments Version: 5.6.2
    Connected to WPCOM: Yes
    Blog ID: 215689210
    Account ID: acct_1McD8vC8Q6Esr9DQ Action Scheduler Canceled: 2
    Oldest: 2023-03-16 11:31:40 -0400
    Newest: 2023-03-16 16:50:10 -0400 Complete: 1,390
    Oldest: 2023-02-23 15:13:38 -0500
    Newest: 2023-03-26 15:59:41 -0400 Failed: 4,181
    Oldest: 2023-02-16 20:00:13 -0500
    Newest: 2023-03-26 16:02:13 -0400 Pending: 2
    Oldest: 2023-03-26 16:04:13 -0400
    Newest: 2023-03-27 12:44:14 -0400 Status report information Generated at: 2023-03-26 16:03:45 -04:00
    `

    There are no fatal error logs

    Hello,

    As a next troubleshooting step, can you please try disconnecting and reconnecting your Jetpack connection? Here there is a guide to do so:

    https://jetpack.com/support/reconnecting-reinstalling-jetpack/

    Please let us know if that makes a difference or not.

    Thanks.

    Thread Starter rdanielwhite

    (@rdanielwhite)

    No luck, disconnected and reconnected, error still displays. I disconnected and reconnected last night, it was still there; I waited until coming into the office the morning, to see if it would “clear” during the night, but no joy, still there. I saw on the jetpack trouble-shooting page you recommended, that sometimes it is necessary to uninstall and reinstall jetpack. Should that be the next step?

    Warning: Undefined array key “id” in /webroot/h/i/hitechsy001/plantbooster.us/www/wp-content/plugins/woocommerce-services/classes/class-wc-connect-taxjar-integration.php on line 216

    Thank you all for your help,
    Daniel

    Hi @rdanielwhite

    I understand that after reconnecting Jetpack, the error still persists.

    Please navigate to WooCommerce > Status > WooCommerce Shipping & Tax > Debug and enable Logging. If there are any taxes log, please copy them for support.

    Thanks!

    Thread Starter rdanielwhite

    (@rdanielwhite)

    Thank you. I have enabled logging in the debug section of WooCommerce > Status > WooCommerce Shipping & Tax >

    So now I suppose it is wait and see what gets logged. I will check the log over the next few days and reply back once anything appears.

    Thanks,
    Daniel

    Hi @rdanielwhite

    Sounds like a plan! Let us know once the logs are available. You can copy and paste them here.

    Thanks!

    Hi, I get the same warning-message and a calculation-error in our last order. Is the error caused by the warning message? Please help!

    Hi @rdanielwhite

    Thanks for sharing the screenshot above.

    I replicated the scenario on my personal site running on the default Storefront theme, however, I am unable to reproduce the issue on my end.

    On my testing here, the VAT-exclusive price is shown under cost while the VAT rate is under a separate column as you can see below:

    For us to investigate this further, can you please try to switch to the default Storefront theme and only WooCommerce and WooCommerce Shipping and Tax plugins are enabled, create a test order using Cash on Delivery and see if this works?

    If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.

    Let us know how it goes!

    Hi @rdanielwhite

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Undefined array key “id” in class-wc-connect-taxjar-integration.php’ is closed to new replies.