• Resolved pop out

    (@popuplt)


    Hello, I am getting critical error from woocommerce-blocks.

    
    ### WordPress Environment ###
    WC Version: 5.1.0
    REST API Version: ✔ 5.1.0
    WC Blocks Version: ✔ 4.4.3
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 2.0.2
    Log Directory Writable: ✔
    WP Version: 5.7
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: lt_LT
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.38 (Debian)
    PHP Version: 7.4.15
    PHP Post Max Size: 8 MB
    PHP Time Limit: 500
    PHP Max Input Vars: 1000
    cURL Version: 7.64.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.21
    Max Upload Size: 2 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: 4.9.2
    WC Database Prefix: prefix
    Total Database Size: 111.41MB
    Database Data Size: 102.09MB
    Database Index Size: 9.32MB
    wp_woocommerce_sessions: Data: 25.19MB + Index: 0.67MB + Engine MyISAM
    wp_woocommerce_api_keys: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wp_woocommerce_order_itemmeta: Data: 0.16MB + Index: 0.14MB + Engine MyISAM
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_actions: Data: 0.10MB + Index: 0.05MB + 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.08MB + Index: 0.06MB + Engine MyISAM
    wp_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_comments: Data: 0.11MB + Index: 0.06MB + Engine MyISAM
    wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_omnisend_logs: Data: 11.52MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 3.82MB + Index: 0.28MB + Engine MyISAM
    wp_postmeta: Data: 50.04MB + Index: 3.61MB + Engine MyISAM
    wp_posts: Data: 9.98MB + Index: 2.84MB + Engine MyISAM
    wp_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM
    wp_revslider_css_bkp: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_revslider_layer_animations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_revslider_navigations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_revslider_sliders: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_revslider_sliders_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_revslider_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_revslider_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_revslider_static_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_term_relationships: Data: 0.36MB + Index: 0.86MB + Engine MyISAM
    wp_term_taxonomy: Data: 0.04MB + Index: 0.04MB + Engine MyISAM
    wp_termmeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
    wp_terms: Data: 0.08MB + Index: 0.14MB + Engine MyISAM
    wp_usermeta: Data: 0.13MB + Index: 0.09MB + Engine MyISAM
    wp_users: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_wc_category_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_wc_customer_lookup: Data: 0.01MB + 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.03MB + Index: 0.03MB + Engine MyISAM
    wp_wc_order_stats: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_product_meta_lookup: Data: 0.21MB + Index: 0.31MB + Engine MyISAM
    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
    
    ### Post Type Counts ###
    
    attachment: 13116
    custom_css: 1
    customize_changeset: 11
    nav_menu_item: 156
    page: 98
    portfolio-item: 1
    post: 31
    product: 1323
    product_variation: 1382
    revision: 532
    shop_coupon: 2
    shop_order: 118
    shop_order_refund: 2
    testimonials: 2
    wpcf7_contact_form: 5
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (18) ###
    
    WooCommerce: by Automattic – 5.1.0
    Other plugins...
    
    ### Must Use Plugins (4) ###
    
    Bedrock Autoloader: by Roots – 1.0.3
    Disallow Indexing: by Roots – 1.0.0
    popup.php: by  –
    Register Theme Directory: by Roots – 1.0.0
    
    ### 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)
    
    ### Templates ###
    
    theme/woocommerce/global/quantity-input.php version 3.6.0 is out of date. The core version is 4.0.0
    
    ### Action Scheduler ###
    
    Complete: 96
    Oldest: 2021-02-23 11:14:35 +0200
    Newest: 2021-03-17 22:12:03 +0200
    
    ### Status report information ###
    
    Generated at: 2021-03-18 13:17:52 +02:00
    
    2021-03-18T10:20:40+00:00 CRITICAL Uncaught Error: Call to a member function get_id() on bool in /var/www/web/app/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/ProductSchema.php:432
    Stack trace:
    #0 /var/www/web/app/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Routes/Products.php(58): Automattic\WooCommerce\Blocks\StoreApi\Schemas\ProductSchema->get_item_response()
    #1 /var/www/web/app/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Routes/AbstractRoute.php(70): Automattic\WooCommerce\Blocks\StoreApi\Routes\Products->get_route_response()
    #2 /var/www/web/wp/wp-includes/rest-api/class-wp-rest-server.php(1160): Automattic\WooCommerce\Blocks\StoreApi\Routes\AbstractRoute->get_response()
    #3 /var/www/web/wp/wp-includes/rest-api/class-wp-rest-server.php(1007): WP_REST_Server->respond_to_request()
    #4 /var/www/web/wp/wp-includes/rest-api/class-wp-rest-server.php(440): WP_REST_Server->dispatch()
    #5 /var/www/web/wp/wp-includes/rest-api.php(354): WP_REST_Server->serve_request()
    #6 /var/www/web/wp/wp-includ in /var/www/web/app/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/ProductSchema.php on line 432

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @popuplt ,

    Okay, this must be concerning.

    I have checked in a fresh installation of WooCommerce and the Handpicked Products block is working as expected. Can you please run through these tests and let me know how it goes?

    1. Switch to a default theme i.e. Twenty Twenty / Storefront
    2. Deactivate all plugins except WooCommerce and then activate them one by one to figure out the faulty one.

    Test your feature after each activation/deactivation. More details on the conflict test here.

    Note: Make sure to have a full backup before proceeding with the test.

    Thank you 🙂

    Thread Starter pop out

    (@popuplt)

    Found the plugin responsible for it.
    WP Extended Search causes this issue.

    • This reply was modified 5 years, 2 months ago by pop out.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hand Picked products: Critical error’ is closed to new replies.