Support » Plugin: WooCommerce » Critical error when run updates

  • Resolved webqueenhtc

    (@webqueenhtc)


    I was trying to update my plugins and got “There has been a critical error on your website. please check your admin site email”. I checked my error_log and found this:

    PHP Notice: Undefined property: Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\StoreDetails::$id in /home/y54zmfu13rh3/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/

    what does it mean?

    Thanks in advance.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter webqueenhtc

    (@webqueenhtc)

    update: I deactivate my woocommerce plugin and I can run update with no more errors. Do I uninstall WooCommerce and then reinstalled?

    Thank you.

    • This reply was modified 10 months ago by webqueenhtc.
    Plugin Support Margaret S. woo-hc

    (@margaretwporg)

    Hi @webqueenhtc

    When you were running the updates, by any chance did you notice which particular plugin was being updated that caused the critical error?

    Also, kindly share the following:

    1. System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
    2. Fatal Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).
    Thread Starter webqueenhtc

    (@webqueenhtc)

    any plugins cause the error. I just tried to update my current theme as well as WP Twenty Seventeen theme and still got the ‘update failed’

    here’s WooCommerce Status:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://sockup.com
    Site address (URL): https://sockup.com
    WC Version: 6.1.1
    REST API Version: ✔ 6.1.1
    WC Blocks Version: ✔ 6.5.2
    Action Scheduler Version: ✔ 3.4.0
    WC Admin Version: ✔ 3.0.3
    Log Directory Writable: ✔
    WP Version: 5.9
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.26
    PHP Post Max Size: 32 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.51-cll-lve
    Max Upload Size: 32 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.1.1
    WC Database Prefix: wp_
    Total Database Size: 26.69MB
    Database Data Size: 23.66MB
    Database Index Size: 3.03MB
    wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.03MB + Engine MyISAM
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + 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
    wpstg0_actionscheduler_actions: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpstg0_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpstg0_actionscheduler_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_berocket_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpstg0_itsec_bans: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpstg0_itsec_dashboard_events: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpstg0_itsec_distributed_storage: Data: 1.74MB + Index: 0.00MB + Engine MyISAM
    wpstg0_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_itsec_lockouts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_itsec_logs: Data: 0.06MB + Index: 0.02MB + Engine MyISAM
    wpstg0_itsec_mutexes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_itsec_temp: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpstg0_itsec_user_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_nf3_chunks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_nf3_field_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wpstg0_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_nf3_upgrades: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wpstg0_options: Data: 1.57MB + Index: 0.09MB + Engine MyISAM
    wpstg0_postmeta: Data: 1.99MB + Index: 0.63MB + Engine MyISAM
    wpstg0_posts: Data: 0.47MB + Index: 0.09MB + Engine MyISAM
    wpstg0_termmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wpstg0_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpstg0_term_relationships: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
    wpstg0_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpstg0_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_usermeta: Data: 0.13MB + Index: 0.09MB + Engine MyISAM
    wpstg0_users: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wpstg0_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    wpstg0_wc_admin_note_actions: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpstg0_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpstg0_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpstg0_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpstg0_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_wc_product_meta_lookup: Data: 0.02MB + Index: 0.03MB + Engine MyISAM
    wpstg0_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpstg0_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpstg0_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.03MB + Engine MyISAM
    wpstg0_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_woocommerce_sessions: Data: 0.20MB + Index: 0.02MB + Engine InnoDB
    wpstg0_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg0_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpstg0_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpstg0_wpf_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_actions: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_actionscheduler_logs: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_berocket_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_itsec_bans: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_itsec_dashboard_events: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_itsec_distributed_storage: Data: 6.69MB + Index: 0.00MB + Engine MyISAM
    wp_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_itsec_lockouts: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wp_itsec_logs: Data: 3.05MB + Index: 0.24MB + Engine MyISAM
    wp_itsec_mutexes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_itsec_temp: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
    wp_itsec_user_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_chunks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_field_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_upgrades: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wp_options: Data: 2.90MB + Index: 0.12MB + Engine MyISAM
    wp_postmeta: Data: 1.99MB + Index: 0.59MB + Engine MyISAM
    wp_posts: Data: 0.45MB + Index: 0.10MB + Engine MyISAM
    wp_termmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wp_terms: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_term_relationships: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
    wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_tm_taskmeta: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wp_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_usermeta: Data: 0.13MB + Index: 0.08MB + Engine MyISAM
    wp_users: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wp_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    wp_wc_admin_note_actions: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.03MB + Engine MyISAM
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wpf_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    attachment: 473
    br_filters_group: 1
    br_product_filter: 1
    captainform_post: 1
    custom_css: 1
    elementor_library: 1
    elementskit_content: 1
    elementskit_template: 1
    nav_menu_item: 40
    page: 14
    post: 1
    product: 111
    product_variation: 165
    responsive_accordion: 1
    revision: 34
    shop_order: 20
    shop_order_refund: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ❌Error messages should not be shown to visitors.
    
    ### Active Plugins (18) ###
    
    iThemes Security: by iThemes – 8.0.2
    CaptainForm: by captainform – 2.5.3
    Classic Editor: by WordPress Contributors – 1.6.2
    Contact Widgets: by GoDaddy – 1.7.0
    Disable Comments Permanently in one click: by binitaa – 1.0.7
    Elementor: by Elementor.com – 3.5.5
    ElementsKit Lite: by Wpmet – 2.5.3
    Flexible Shipping: by WP Desk – 4.11.2
    Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.23.2
    Max Mega Menu - StoreFront Integration: by megamenu.com – 1.0.3
    Max Mega Menu: by megamenu.com – 2.9.5
    Really Simple SSL: by Really Simple Plugins – 5.2.3
    Title Remover: by WPGurus – 1.2.1
    Dynamic Product Gallery for WooCommerce: by a3rev Software – 2.9.0
    WooCommerce: by Automattic – 6.1.1
    WP-Optimize - Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.2.2
    
    SEOPress: by SEOPress – 5.4.4
    WP STAGING PRO: by WP-STAGING – 4.1.5
    
    ### Inactive Plugins (1) ###
    
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.9.3
    
    ### Must Use Plugins (2) ###
    
    installatron_hide_status_test.php: by  –
    WP STAGING Optimizer: by René Hermenau – 1.5.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: –
    
    ### WC Pages ###
    
    Shop base: #5 - /shop/
    Cart: #6 - /cart/
    Checkout: #7 - /checkout/
    My account: #8 - /my-account/
    Terms and conditions: #937 - /privacy-policy/
    
    ### Theme ###
    
    Name: AyaClub
    Version: 1.3.4 (update to version 1.3.6 is available)
    Author URL: https://ayatemplates.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: ❌ Not declared
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 35
    Oldest: 2022-01-08 17:49:50 -0500
    Newest: 2022-02-07 16:04:04 -0500
    
    ### Status report information ###
    
    Generated at: 2022-02-07 16:04:07 -05:00
    
    Thread Starter webqueenhtc

    (@webqueenhtc)

    here’s WooCommerce Error Logs:

    2022-01-24T14:45:57+00:00 CRITICAL Uncaught Error: Call to undefined method WP_Error::get_data() in /home/y54zmfu13rh3/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64
    Stack trace:
    #0 /home/y54zmfu13rh3/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(352): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store')
    #1 /home/y54zmfu13rh3/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(323): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array)
    #2 /home/y54zmfu13rh3/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array)
    #3 /home/y54zmfu13rh3/public_html/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback(Array, '', Object(WP_Block))
    #4 /home/y54zmfu13rh3/public_html/wp-in in /home/y54zmfu13rh3/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64
    Plugin Support André woo-hc

    (@chiape)

    Hi @webqueenhtc

    This may be related to your theme, but to help me diagnose it better, can you give a conflict test a try, please?

    The best way to do this is to:

    1. Temporarily switch your theme to Storefront
    2. Disable all plugins except for WooCommerce
    3. Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.

    To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    You can find a more detailed explanation on how to do a conflict test here.

    Thank you!

    Thread Starter webqueenhtc

    (@webqueenhtc)

    @chiape Thank you for helping. I found the error. I try to update again and got the ‘critica error’ email to my admin email. Found the error! It’s one of my contact form plugin. That plugin has not been updated in a while. I deactivate that plugin and I was successfully update all my plugins!

    Thanks!

    Plugin Support Igor H woo-hc

    (@ihereira)

    Thanks for letting us know!

    If you have any further questions, I recommend creating a new thread, since this one is already marked as resolved, thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Critical error when run updates’ is closed to new replies.