Undefined Array Key “version”
-
When purchasing a shipping label it takes a few minutes but I get a strange error message.
Warning: Undefined array key “version” in /home3/purplgs4/public_html/wp-content/plugins/woocommerce-shipping/src/Loader.php on line 1794
Warning: Undefined array key “version” in /home3/purplgs4/public_html/wp-content/plugins/woocommerce-shipping/src/Loader.php on line 1802
I’m not sure this has affected anything, and I was able to print the label and complete the order, but I don’t know why it does this.
-
Hello purplegatefarm,
Thank you for contacting WooCommerce support.
I understand you’re encountering warnings when purchasing a shipping label, but the process is completed successfully.
Could you let me know where this issue is appearing?
A screenshot of the error would be helpful.Additionally, do you see any further errors under WooCommerce > System Status > Logs?
Lastly, share your system status report so I can investigate further.Looking forward to your response. ??
I have a screenshot but I don’t know how to add it to this message. When I click on image block, it says insert from URL but my screenshot is a file.
Hi @purplegatefarm ,
I have a screenshot but I don’t know how to add it to this message. When I click on image block, it says insert from URL but my screenshot is a file.
Thank you for your response. You can upload the screenshot to a service like snipboard.io, this will generate a link that can be pasted directly into your response here.
For the system status report, head to WooCommerce > Status in your dashboard, click on the ‘Get system report’ button, then ‘Copy for support’. You can paste that information right here using the “<code>” block.
Once we see the screenshot and SSR, we’ll have a better understanding of the country name error in your emails.
Here’s the screenshot on Google Drive: https://drive.google.com/file/d/1-BVItWVEdIrof0EJ16DnYrE0pdhJA2pV/view?usp=sharing
<br>### WordPress Environment ###<br><br>WordPress address (URL): https://purplegatefarmmo.com<br>Site address (URL): https://purplegatefarmmo.com<br>WC Version: 9.3.3<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.8.1<br>Log Directory Writable: ?<br>WP Version: 6.6.2<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: –<br><br>### Server Environment ###<br><br>Server Info: Apache<br>PHP Version: 8.0.30<br>PHP Post Max Size: 516 MB<br>PHP Time Limit: 60<br>PHP Max Input Vars: 1000<br>cURL Version: 8.7.1<br>OpenSSL/1.1.1w<br><br>SUHOSIN Installed: –<br>MySQL Version: 5.7.23-23<br>Max Upload Size: 512 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ?<br><br>### Database ###<br><br>WC Database Version: 9.3.3<br>WC Database Prefix: nE6_<br>Total Database Size: 29.01MB<br>Database Data Size: 23.81MB<br>Database Index Size: 5.20MB<br>nE6_woocommerce_sessions: Data: 2.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>nE6_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_woocommerce_order_itemmeta: Data: 0.27MB + Index: 0.31MB + Engine InnoDB<br>nE6_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>nE6_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_actionscheduler_actions: Data: 0.11MB + Index: 0.13MB + Engine InnoDB<br>nE6_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>nE6_aioseo_cache: Data: 0.09MB + Index: 0.03MB + Engine InnoDB<br>nE6_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>nE6_aioseo_posts: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>nE6_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_ce4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_commentmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>nE6_comments: Data: 0.25MB + Index: 0.09MB + Engine InnoDB<br>nE6_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB<br>nE6_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>nE6_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_mailpoet_automation_runs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>nE6_mailpoet_automation_run_subjects: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_mailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_mailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_newsletters: Data: 0.22MB + Index: 0.05MB + Engine InnoDB<br>nE6_mailpoet_newsletter_links: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>nE6_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB<br>nE6_mailpoet_scheduled_tasks: Data: 1.52MB + Index: 0.41MB + Engine InnoDB<br>nE6_mailpoet_scheduled_task_subscribers: Data: 0.14MB + Index: 0.05MB + Engine InnoDB<br>nE6_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_mailpoet_sending_queues: Data: 1.48MB + Index: 0.03MB + Engine InnoDB<br>nE6_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>nE6_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>nE6_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>nE6_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>nE6_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_mailpoet_subscribers: Data: 0.05MB + Index: 0.23MB + Engine InnoDB<br>nE6_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_nfd_data_event_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_options: Data: 6.05MB + Index: 0.13MB + Engine InnoDB<br>nE6_postmeta: Data: 3.09MB + Index: 0.39MB + Engine InnoDB<br>nE6_posts: Data: 3.06MB + Index: 0.09MB + Engine InnoDB<br>nE6_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB<br>nE6_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_usermeta: Data: 0.13MB + Index: 0.13MB + Engine InnoDB<br>nE6_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>nE6_wb4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>nE6_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB<br>nE6_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>nE6_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>nE6_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB<br>nE6_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>nE6_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>nE6_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>nE6_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>nE6_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>nE6_yoast_indexable: Data: 0.17MB + Index: 0.13MB + Engine InnoDB<br>nE6_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB<br>nE6_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>nE6_yoast_seo_links: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>nE6_zettle_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>nE6_zettle_woocommerce_id_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br><br>### Post Type Counts ###<br><br>attachment: 114<br>mailpoet_page: 1<br>nav_menu_item: 13<br>omapi: 3<br>page: 24<br>post: 3<br>product: 78<br>product_variation: 7<br>revision: 35<br>shop_coupon: 6<br>shop_order: 144<br>shop_order_refund: 8<br>wapf_product: 5<br>wp_global_styles: 1<br>wp_navigation: 1<br><br>### Security ###<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ?<br><br>### Active Plugins (23) ###<br><br>Advanced Product Fields for WooCommerce: by StudioWombat – 1.6.12<br>Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.3<br>The Bluehost Plugin: by Bluehost – 3.15.2<br>Code Snippets: by Code Snippets Pro – 3.6.5.1<br>Creative Mail by Newfold Digital: by Newfold Digital – 1.6.9<br>Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 9.2.0<br>Google for WooCommerce: by WooCommerce – 2.8.6<br>Jetpack: by Automattic – 13.9.1<br>List Backorders for WooCommerce: by Howard Ehrenberg – 2.3.2<br>MailPoet: by MailPoet – 5.3.5<br>OptinMonster: by OptinMonster Popup Builder Team – 2.16.7<br>Bluehost Website Builder: by Newfold Digital – 1.0-2761 : 20240723_065922<br>Woo Store Vacation: by MyPreview – 1.9.5<br>USPS Simple Shipping for Woocommerce: by dangoodman – 1.10.8<br>WooPayments: by WooCommerce – 8.4.0<br>PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.9.0<br>WooCommerce Shipping & Tax: by WooCommerce – 2.8.3<br>WooCommerce Shipping: by WooCommerce – 1.2.1<br>WooCommerce - ShipStation Integration: by WooCommerce – 4.4.5<br>WooCommerce: by Automattic – 9.3.3<br>Yoast SEO: by Team Yoast – 23.7<br>WPForms Lite: by WPForms – 1.9.1.6<br>PayPal Zettle POS: by PayPal – 1.5.9<br><br>### Inactive Plugins (6) ###<br><br>All in One SEO: by All in One SEO Team – 4.7.3.1<br>ELEX ShipEngine UPS & FedEx Shipping Method (BASIC): by ELEXtensions – 1.2.4<br>ELEX USPS Shipping Method for WooCommerce(Basic): by ELEXtensions – 3.0.5<br>TrustPulse API: by – 1.2.3<br>WooCommerce Admin: by WooCommerce – 3.3.2<br>WooCommerce Backorder Manager: by jeffrey-wp – 2.5<br><br>### Dropin Plugins () ###<br><br>db-error.php: db-error.php<br>maintenance.php: maintenance.php<br><br>### Must Use Plugins (2) ###<br><br>Endurance Page Cache: by Mike Hansen – 2.2.1<br>SSO: by Garth Mortensen<br>Mike Hansen – 0.5<br><br><br>### Settings ###<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>subscription (subscription)<br>variable (variable)<br>variable subscription (variable-subscription)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: ?<br>Enforce Approved Product Download Directories: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: –<br><br>### Logging ###<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 51 KB<br><br>### WC Pages ###<br><br>Shop base: #5 - /shop/<br>Cart: #6 - /cart/ - Contains the [woocommerce_cart] shortcode<br>Checkout: #7 - /checkout/ - Contains the [woocommerce_checkout] shortcode<br>My account: #8 - /my-account/<br>Terms and conditions: ? Page not set<br><br>### Theme ###<br><br>Name: BH Website Builder<br>Version: 1.0.1296<br>Author URL: https://www.newfold.com/<br>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<br>WooCommerce Support: ?<br><br>### Templates ###<br><br>Overrides: –<br><br>### WooPayments ###<br><br>Version: 8.4.0<br>Connected to WPCOM: Yes<br>WPCOM Blog ID: 199809193<br>Account ID: acct_1JvSfB2E7utN5Uxv<br>Payment Gateway: Enabled<br>Test Mode: Disabled<br>Enabled APMs: card<br>WooPay: Disabled<br>WooPay Incompatible Extensions: Yes<br>Apple Pay / Google Pay: Enabled (product,cart,checkout)<br>Fraud Protection Level: basic<br>Multi-currency: Enabled<br>Auth and Capture: Enabled<br>Documents: Disabled<br>Logging: Disabled<br><br>### MailPoet ###<br><br>Sending Method: MailPoet<br>Send all site's emails with: Default WordPress sending method<br>Task Scheduler method: WordPress<br>Cron ping URL: https://purplegatefarmmo.com?mailpoet_router&endpoint=cron_daemon&action=ping<br><br>### Admin ###<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br><br>Daily Cron: ? Next scheduled: 2024-10-31 05:56:45 -06:00<br>Options: ?<br>Notes: 214<br>Onboarding: completed<br><br>### Action Scheduler ###<br><br>Complete: 70<br>Oldest: 2024-10-26 02:18:56 +0000<br>Newest: 2024-10-31 01:42:35 +0000<br><br>Failed: 87<br>Oldest: 2022-08-25 22:53:27 +0000<br>Newest: 2024-02-29 16:45:53 +0000<br><br>Pending: 12<br>Oldest: 2024-10-31 01:47:35 +0000<br>Newest: 2024-11-06 16:43:37 +0000<br><br><br>### PayPal Zettle POS ###<br><br>Onboarding state: onboarding-completed<br>Price sync: yes<br>Initial sync collision strategy: merge<br>First import: 4:02 pm June 15<br>2022<br><br>Number of products syncing: 59<br>PayPal Zettle currency: USD<br>PayPal Zettle country: US<br>PayPal Zettle language: en<br>PayPal Zettle time zone: America/Los_Angeles<br>PayPal Zettle contact email: [email protected]<br>PayPal Zettle taxation mode: EXCLUSIVE<br>PayPal Zettle taxation type: SALES_TAX<br>PayPal Zettle customer mode: SelfEmployed<br><br>### Status report information ###<br><br>Generated at: 2024-10-30 19:48:15 -06:00<br>
Hi @purplegatefarm, this is just a warning and should not causing any issues with the functionality of your site. That said we have already fixed the warning and it will go out with the next release this week still.
- This reply was modified 3 weeks, 4 days ago by Gerhard Potgieter.
- You must be logged in to reply to this topic.