Warnings shown after updating to 4.2.0
-
After updating to Woocommerce 4.2.0 and accessing it, I see the below two warning messages:
Notice: Undefined index: heartbeat in /nas/content/live/resrdev/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Loader.php on line 517
Notice: Trying to get property ‘handle’ of non-object in /nas/content/live/resrdev/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Loader.php on line 485
I don’t see that they break anything but its distressing to have such messages when I don’t know why it’s there, especially when I configure something in Woocommerce, not knowing how these warnings will affect my settings.
I have updated to Woocommerce 4.2.1, thinking that it might remove the warning messages but it’s still there.
Please help to look into this. Thank you.
Regards,
Shawn- This topic was modified 4 years, 5 months ago by Shawn.
-
Hi Shawn,
Just to check – are you using the standalone WooCommerce Admin plugin or just the core WooCommerce plugin itself?
If you’re unsure yourself, please share a copy of your status report as found under **WooCommerce > Status** and we can take a closer look.
Thanks!
Hi RK, I’m not sure which of two Woocommerce I have so below is the status report for your reference, hope this helps. Thanks.
### WordPress Environment ### WordPress address (URL): https://resources.odb.sg Site address (URL): https://resources.odb.sg WC Version: 4.2.2 REST API Version: ? 1.0.8 WC Blocks Version: ? 2.5.16 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.2.4 Log Directory Writable: ? WP Version: 5.4.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: ? WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.6 PHP Post Max Size: 100 MB PHP Time Limit: 3600 PHP Max Input Vars: 10000 cURL Version: 7.58.0 OpenSSL/1.1.1 SUHOSIN Installed: – MySQL Version: 5.7.29-32-log Max Upload Size: 50 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.2.2 WC Database Prefix: wp_ Total Database Size: 13.25MB Database Data Size: 11.20MB Database Index Size: 2.05MB 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: 0.02MB + Index: 0.11MB + 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.02MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_gglcptch_whitelist: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 6.44MB + Index: 0.06MB + Engine InnoDB wp_postmeta: Data: 1.52MB + Index: 0.48MB + Engine InnoDB wp_posts: Data: 0.39MB + Index: 0.06MB + Engine InnoDB wp_revslider_css: Data: 0.14MB + Index: 0.00MB + Engine InnoDB wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides: Data: 0.17MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_simple_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_simple_history_contexts: Data: 1.52MB + 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.02MB + 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_meta_lookup: Data: 0.02MB + Index: 0.09MB + 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: 121 custom_css: 1 fusion_template: 1 nav_menu_item: 21 page: 18 post: 2 product: 70 product_variation: 4 revision: 11 shop_order: 1 slide: 4 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ?Error messages should not be shown to visitors. ### Active Plugins (9) ### Contact Form 7: by Takayuki Miyoshi – 5.1.9 Fusion Builder: by ThemeFusion – 2.2.3 Fusion Core: by ThemeFusion – 4.2.3 reCaptcha by BestWebSoft: by BestWebSoft – 1.57 Limit Login Attempts Reloaded: by WPChef – 2.13.0 Slider Revolution: by ThemePunch – 6.2.8 Simple History: by P?r Thernstr?m – 2.34.0 WooCommerce Services: by Automattic – 1.23.2 WooCommerce: by Automattic – 4.2.2 ### Inactive Plugins (3) ### Akismet Anti-Spam: by Automattic – 4.1.6 Atomic Blocks - Gutenberg Blocks Collection: by atomicblocks – 2.8.4 Jetpack by WordPress.com: by Automattic – 8.6.1 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (4) ### Force Strong Passwords - WPE Edition: by Jason Cosper – 1.6.4 WP Engine Seamless Login Plugin: by WP Engine – 1.5.5 WP Engine Security Auditor: by wpengine – 1.0.9 WP Engine System: by WP Engine – 4.0.0 ### Settings ### API Enabled: – Force SSL: – Currency: SGD ($) 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: – ### WC Pages ### Shop base: #16552 - /shop-full-width/ Cart: #16564 - /cart/ Checkout: #16586 - /checkout/ My account: #16576 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Avada Child Version: 1.0.0 Author URL: https://theme-fusion.com Child Theme: ? Parent Theme Name: Avada Parent Theme Version: 6.2.3 Parent Theme Author URL: https://themeforest.net/user/ThemeFusion WooCommerce Support: ? ### Templates ### Overrides: Avada/woocommerce/cart/cart.php Avada/woocommerce/checkout/form-pay.php Avada/woocommerce/checkout/review-order.php Avada/woocommerce/checkout/thankyou.php Avada-Child-Theme/woocommerce/emails/admin-new-order.php Avada-Child-Theme/woocommerce/emails/customer-processing-order.php Avada-Child-Theme/woocommerce/emails/email-addresses.php Avada-Child-Theme/woocommerce/emails/email-order-details.php Avada-Child-Theme/woocommerce/emails/email-order-items.php Avada/woocommerce/loop/loop-start.php Avada-Child-Theme/woocommerce/order/order-details-customer.php Avada-Child-Theme/woocommerce/order/order-details-item.php Avada-Child-Theme/woocommerce/order/order-details.php Avada/woocommerce/single-product/add-to-cart/variable.php Avada/woocommerce/single-product/short-description.php Avada/woocommerce/single-product/tabs/additional-information.php Avada/woocommerce/single-product/tabs/description.php ### Action Scheduler ### Complete: 38 Oldest: 2020-05-28 02:03:41 +0000 Newest: 2020-06-18 05:37:47 +0000
Same here, WP 5.4.2, WC 4.2.2
I also have this issue – anyone found a solution?
- This reply was modified 4 years, 5 months ago by sarahjee.
Same issue here, does someone have a solution?
Same here! Let us know if any of you finds the solution, please.
another one here
Mine was related to the WP Disable plugin. After removing the plugin, the errors disappeared.
@shawnquah Can you (or anyone else) confirm if this is still an issue with the current version of WooCommerce (4.3.1)? If so, please try deactivating everything but WooCommerce to see if the issue still exists. If it does not, it’s most likely a conflict with another plugin, like @camiloluna mentioned.
Hi Jesse Pearson,
The warning is still there, but I have decided to edit my wp-config.php file and changed the setting for wp_debug to false so as not to see it anymore. This isn’t an ideal solution but one that I can live with since everything is working for Woocommerce.
- This reply was modified 4 years, 3 months ago by Shawn.
- The topic ‘Warnings shown after updating to 4.2.0’ is closed to new replies.