Support » Plugin: WooCommerce Blocks » Fatal Error – RestApi.php on line 64

  • Resolved cactuscat

    (@cactuscat)


    I don’t have a plugin called “woocommerce-blocks,” so I do not have an option to “disable” this and test it. This error comes up every few times I refresh my website. I am running the latest on all of my plugins and wordpress.

    Fatal error: Uncaught Error: Call to undefined method WP_Error::get_data() in /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(349): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace(‘wc/store’) #1 /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(287): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(84): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-includes/class-wp-block.php(221): Automattic\WooC in /homepages/42/d653226534/htdocs/clickandbuilds/WestHeir/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64
    There has been a critical error on your website.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Michael P. Pfeiffer

    (@mppfeiffer)

    @cactuscat In order to be able to better assist you with this issue, it would be beneficial if you could provide us with some more details on which version of WordPress and WooCommerce you are running. Have you already updated to WordPress version 5.8 and WooCommerce version 5.5.1? Which other plugins are active? Thank you!

    Thread Starter cactuscat

    (@cactuscat)

    I’m sorry for the delay. I didn’t have this problem until two WordPress updates ago. I am running WordPress Version 5.8 and Woocommerce Version 5.5.1.

    My active plugins include:

    Acme Fix Images V 1.0.0
    Advanced Import V 1.3.3
    Askimet Anti-Spam V 4.1.10
    Alfred, the Assistant V 5.4.4
    All in One SEO V 4.1.2.2
    Antispam Bee V 2.9.4
    Astra Pro V 3.5.5
    Best Selling Products for WooCommerce V 1.3.1
    Blackhole for Bad Bots V 3.2
    Braintree for WooCommerce V 3.2.26
    Broken Link Checker V 1.11.15
    Code Snippets V 2.14.1
    Contact Form 7 V 5.4.2
    Content Aware Sidebars V 3.16.1
    Elementor V 3.3.1
    GDPR Cookie Consent V 2.0.4
    Gutentor – Gutenberg Blocks – Page Builder for Gutenberg Editor – V 3.1.3
    Hide My WP Ghost Lite V 4.1.08
    IPQualityScore Fraud Detection V 1.80
    Ivory Search V 4.6.4
    Jetpack V 9.9.1
    jQuery Updater V 3.6.0.1
    Limit Login Attempts Reloaded V 2.23.0
    Max Mega Menu V 2.9.4
    Menu Image V 3.0.4
    myStickymenu V 2.5.3
    Official MailerLite sign up forms v 1.4.9
    Orbit Fox Companion v. 2.10.6
    Premium Starter Templates v 2.6.16
    Product Videos for Woocommerce v 2.1.0
    Really Simple SSL v 5.0.3
    Remove HTTP v 2.2.0
    Sidebar Manager v. 1.1.7
    Simple custom CSS and JS v 3.37
    Statify v 1.8.3
    Templateberg – Gutenberg templates library v 1.0.3
    Tidio Chat – v 4.3.0
    Ultimate Addons for Elementor v 1.33.0
    Ultimate Responsive Image Slider v 3.5.4
    UpdraftPlus – Backup/Restore – v 1.16.59
    WCFM – WooCommerce Frontend Manager v 6.5.9
    WCFM – WooCommerce Multivendor Marketplace v 3.4.9
    WCFM – CooCommerce Multivendor Membership v 2.9.9
    WooCommerce v 5.5.1
    WooCommerce – MailerLite v 1.5.5
    WooCommerce Admin v 2.4.4
    WooCommerce Payments v 2.7.0
    WooCommerce Products Wizard v 2.4.1
    WP Maintenance Mode v 2.4.1
    WP-Optimize – Clean, Compress, Cache v 3.1.11
    WPForms Lite v 1.6.8.1

    I am going to deactivate Gutentor – Gutenberg Blocks – Page Builder for Gutenberg Editor – V 3.1.3 and see if that helps. This error is driving me mad.

    Thread Starter cactuscat

    (@cactuscat)

    I disabled Gutenberg Editor and the problem went away. However, this created another problem because I use it heavily for my menus and they disappeared. lol I need to keep this plugin active. :/

    Plugin Support Cara – a11n

    (@dcka)

    Hi, @cactuscat!

    To be clear, while there is a standalone WooCommerce Blocks plugin, the woocommerce-blocks you’re seeing is a package that comes with the core WooCommerce software now.

    Under WooCommerce > Status > System Status, can you please check which version of the WooCommerce Blocks package you might have:


    Link to image: https://d.pr/i/1tHggB

    Alternatively, you can paste your entire System Status Report here which should give us more information to work with.

    Plugin Support Cara – a11n

    (@dcka)

    Hey @cactuscat,

    We haven’t heard back from you in a while, so I’m going to mark this thread as resolved. However, we’ll be here if/when you’re ready to continue.

    dragonfra

    (@dragonfra)

    salve
    anche io mi ritrovo in questa situazione quando installo la versione successiva di WooCommerce 5.3.2 mi da questo errore

    Fatal error: Uncaught Error: Call to undefined method WP_Error::get_data() in /home/customer/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /home/customer/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(379): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store') #1 /home/customer/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractProductGrid.php(512): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /home/customer/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(317): Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->enqueue_data(Array) #3 /home/customer/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Blo in /home/customer/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64

    come posso risolvere?
    grazie

    • This reply was modified 7 months ago by dragonfra.
    • This reply was modified 7 months ago by dragonfra.
    Plugin Support Adam a11n

    (@adamkheckler)

    Does this happen even if you install the latest version of WooCommerce? (That’s version 5.9.0)

    If so, could you please send me a copy of your site’s system status report? You can find it under WooCommerce > Status in the dashboard. Click “Get system report” and then the “Copy for support” button. Once you’ve done that, paste it into your reply.

    Plugin Support Adam a11n

    (@adamkheckler)

    Ack, sorry! I forgot that the status report won’t be accessible if WooCommerce is broken. 🙁

    In any case, it sounds like something might be going wrong with the install here, so it may be best to install manually via FTP. WordPress.org has instructions on how to manually install plugins here:

    Managing Plugins

    Let us know if that works!

    Hello
    thank you for answering
    yes installing version 5.9.0 I always have the same problem
    here is my site report

    
    ### WordPress Environment ###
    
    WordPress address (URL): 
    Site address (URL): 
    WC Version: 5.9.0
    REST API Version: ✔ 5.9.0
    WC Blocks Version: ✔ 6.1.0
    Action Scheduler Version: ✔ 3.3.0
    WC Admin Version: ✔ 2.8.0
    Log Directory Writable: ✔
    WP Version: 5.8.2
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: it_IT
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.26
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 7.66.0
    OpenSSL/1.1.1l-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.32-35-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 5.3.2
    WC Database Prefix: wp_
    Dimensione totale database: 77.16MB
    Dimensione dati database: 62.16MB
    Dimensione indice database: 15.00MB
    wp_woocommerce_sessions: Dati: 1.39MB + indice: 0.02MB + motore InnoDB
    wp_woocommerce_api_keys: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_woocommerce_attribute_taxonomies: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_woocommerce_downloadable_product_permissions: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_woocommerce_order_items: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_woocommerce_order_itemmeta: Dati: 0.05MB + indice: 0.03MB + motore InnoDB
    wp_woocommerce_tax_rates: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_woocommerce_tax_rate_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_woocommerce_shipping_zones: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_woocommerce_shipping_zone_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_woocommerce_shipping_zone_methods: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_woocommerce_payment_tokens: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_woocommerce_payment_tokenmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_woocommerce_log: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_actionscheduler_actions: Dati: 2.52MB + indice: 1.41MB + motore InnoDB
    wp_actionscheduler_claims: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_actionscheduler_groups: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_actionscheduler_logs: Dati: 1.52MB + indice: 0.72MB + motore InnoDB
    wp_adtribes_my_conversions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_aepc_custom_audiences: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_aepc_logs: Dati: 0.14MB + indice: 0.00MB + motore InnoDB
    wp_amazon_accounts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_amazon_btg: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_amazon_categories: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_amazon_feeds: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_amazon_feed_templates: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_amazon_feed_tpl_data: Dati: 0.02MB + indice: 0.08MB + motore InnoDB
    wp_amazon_feed_tpl_values: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_amazon_jobs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_amazon_listings: Dati: 0.02MB + indice: 0.19MB + motore InnoDB
    wp_amazon_log: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_amazon_markets: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_amazon_orders: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_amazon_payment: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_amazon_profiles: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_amazon_reports: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_amazon_shipping: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_amazon_stock_log: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_atum_order_itemmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_atum_product_data: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_berocket_termmeta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_categorymeta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_cli_cookie_scan: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_cli_cookie_scan_categories: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_cli_cookie_scan_cookies: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_cli_cookie_scan_url: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_cli_scripts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_commentmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_comments: Dati: 0.02MB + indice: 0.09MB + motore InnoDB
    wp_ewwwio_images: Dati: 4.52MB + indice: 2.98MB + motore InnoDB
    wp_ewwwio_queue: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_e_submissions: Dati: 0.02MB + indice: 0.27MB + motore InnoDB
    wp_e_submissions_actions_log: Dati: 0.02MB + indice: 0.11MB + motore InnoDB
    wp_e_submissions_values: Dati: 0.08MB + indice: 0.03MB + motore InnoDB
    wp_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_mailchimp_carts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_mailchimp_jobs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_member_catmeta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_options: Dati: 6.50MB + indice: 0.56MB + motore InnoDB
    wp_pimwick_gift_card: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_pimwick_gift_card_activity: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_portfolio_catmeta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_postmeta: Dati: 16.52MB + indice: 4.03MB + motore InnoDB
    wp_posts: Dati: 10.52MB + indice: 0.41MB + motore InnoDB
    wp_product_catmeta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_rank_math_internal_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_rank_math_internal_meta: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_revslider_css: Dati: 0.13MB + indice: 0.02MB + motore InnoDB
    wp_revslider_css_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_revslider_layer_animations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_revslider_layer_animations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_revslider_navigations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_revslider_navigations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_revslider_sliders: Dati: 0.14MB + indice: 0.02MB + motore InnoDB
    wp_revslider_sliders_bkp: Dati: 0.08MB + indice: 0.00MB + motore InnoDB
    wp_revslider_slides: Dati: 1.52MB + indice: 0.02MB + motore InnoDB
    wp_revslider_slides_bkp: Dati: 1.52MB + indice: 0.00MB + motore InnoDB
    wp_revslider_static_slides: Dati: 0.05MB + indice: 0.02MB + motore InnoDB
    wp_revslider_static_slides_bkp: Dati: 0.05MB + indice: 0.00MB + motore InnoDB
    wp_sgs_log_events: Dati: 1.52MB + indice: 0.00MB + motore InnoDB
    wp_sgs_log_visitors: Dati: 0.05MB + indice: 0.00MB + motore InnoDB
    wp_social_users: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_termmeta: Dati: 0.09MB + indice: 0.11MB + motore InnoDB
    wp_terms: Dati: 0.08MB + indice: 0.09MB + motore InnoDB
    wp_term_relationships: Dati: 0.22MB + indice: 0.13MB + motore InnoDB
    wp_term_taxonomy: Dati: 0.09MB + indice: 0.09MB + motore InnoDB
    wp_tm_taskmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_tm_tasks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_usermeta: Dati: 0.17MB + indice: 0.11MB + motore InnoDB
    wp_users: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_wcpdf_invoice_number: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wc_admin_notes: Dati: 0.06MB + indice: 0.00MB + motore InnoDB
    wp_wc_admin_note_actions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_wc_category_lookup: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wc_customer_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_wc_download_log: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_wc_order_coupon_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_wc_order_product_lookup: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_wc_order_stats: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_wc_order_tax_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_wc_product_meta_lookup: Dati: 0.08MB + indice: 0.13MB + motore InnoDB
    wp_wc_reserved_stock: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wc_tax_rate_classes: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_wc_webhooks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_wdp_orders: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_wdp_order_items: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_wdp_rules: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_wdr_order_discounts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wdr_order_item_discounts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wdr_rules: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wfblockediplog: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wfblocks7: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_wfconfig: Dati: 0.47MB + indice: 0.00MB + motore InnoDB
    wp_wfcrawlers: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wffilechanges: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wffilemods: Dati: 4.52MB + indice: 0.00MB + motore InnoDB
    wp_wfhits: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_wfhoover: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_wfissues: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
    wp_wflocs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wflogins: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_wfls_settings: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wfnotifications: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wfstatus: Dati: 0.16MB + indice: 0.09MB + motore InnoDB
    wp_woo_shippment_provider: Dati: 0.09MB + indice: 0.00MB + motore InnoDB
    wp_wsal_metadata: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_wt_iew_cron: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_wt_iew_ftp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
    wp_yith_wcan_filter_sessions: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
    wp_yith_wcwl: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_yith_wcwl_lists: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
    wp_yoast_indexable: Dati: 3.52MB + indice: 0.73MB + motore InnoDB
    wp_yoast_indexable_hierarchy: Dati: 0.14MB + indice: 0.20MB + motore InnoDB
    wp_yoast_migrations: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
    wp_yoast_primary_term: Dati: 0.09MB + indice: 0.11MB + motore InnoDB
    wp_yoast_seo_links: Dati: 1.52MB + indice: 0.36MB + motore InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 6
    acf-field-group: 1
    attachment: 1206
    cmm4e_menu: 2
    cmm4e_menu_theme: 2
    cookielawinfo: 19
    custom_css: 2
    customize_changeset: 38
    cwginstocknotifier: 1
    elementor_font: 1
    elementor_library: 29
    elementor_snippet: 1
    jet-woo-builder: 1
    nav_menu_item: 228
    o-discount: 1
    o-list: 1
    oembed_cache: 44
    page: 19
    porto_builder: 12
    post: 24
    product: 532
    product_variation: 69
    revision: 349
    shop_coupon: 2
    shop_order: 14
    shop_order_refund: 1
    theplus_clients: 12
    wobd-badge-designer: 3
    wpcf7_contact_form: 2
    wsm-scheduled-sale: 7
    yith_wcan_preset: 1
    yith-wcbm-badge: 3
    ywdpd_discount: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (39) ###
    
    Advanced Access Manager: by Vasyl Martyniuk <vasyl@vasyltech.com> – 6.8.0
    FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.14.0
    Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: by codewoogeek – 2.4.3
    Contact Form 7 Extension For Mailchimp: by Renzo Johnson – 0.5.52
    Contact Form 7: by Takayuki Miyoshi – 5.5.3
    GDPR Cookie Consent: by WebToffee – 2.0.6
    Customizer Search: by Brainstorm Force – 1.1.6
    Add-on: Unsubscribe - Back In Stock Notifier for WooCommerce: by codewoogeek – 1.2
    Disable Version Caching: by Aman Khanakia – 1.0.1
    Elementor Pro: by Elementor.com – 3.5.1
    Elementor: by Elementor.com – 3.4.8
    Essential Addons for Elementor - Pro: by WPDeveloper – 4.4.11
    Essential Addons for Elementor: by WPDeveloper – 4.9.6
    EWWW Image Optimizer: by Exactly WWW – 6.3.0
    Facebook Chat Plugin - Live Chat Plugin for WordPress: by Facebook – 2.2
    Loco Translate: by Tim Whitlock – 2.5.5
    Mailchimp for WooCommerce: by Mailchimp – 2.5.4
    Pixel Caffeine: by AdEspresso – 2.3.3
    Porto Theme - Functionality: by P-Themes – 2.2.1
    PW WooCommerce Gift Cards Pro: by Pimwick
    LLC – 1.347
    
    Slider Revolution: by ThemePunch – 6.5.11
    SiteGround Security: by SiteGround – 1.1.3
    User Avatar For Woocommerce: by 4wpbari – 1.0.1
    User Menus: by Code Atlantic – 1.2.7
    User Switching: by John Blackbourn e collaboratori – 1.5.8
    YellowPencil Pro: by WaspThemes – 7.5.3
    WC Hide Shipping Methods: by Rynaldo Stoltz – 1.5
    White Label CMS: by www.videousermanuals.com – 2.2.5
    Monitoraggio avanzato della spedizione per WooCommerce: by zorema – 3.3.1
    Product Feed PRO for WooCommerce: by AdTribes.io – 10.9.2
    WooCommerce Bulk Stock Management: by WooCommerce – 2.2.20
    WooCommerce Stripe Gateway: by WooCommerce – 5.4.1
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.10.4
    WooCommerce: by Automattic – 5.9.0
    Yoast SEO: by Team Yoast – 17.7.1
    WP Rocket: by WP Media – 3.10.4
    YITH WooCommerce Ajax Product Filter: by YITH – 4.4.0
    YITH WooCommerce Brands Add-on Premium: by YITH – 1.4.3
    YITH WooCommerce Wishlist: by YITH – 3.3.0
    
    ### Inactive Plugins (5) ###
    
    PW WooCommerce Bulk Edit Pro: by Pimwick
    LLC – 2.294
    
    Sales Manager For WooCommerce: by J2FB – 2.0
    SiteGround Optimizer: by SiteGround – 6.0.5
    YITH WooCommerce Badge Management Premium: by YITH – 1.4.14
    YITH WooCommerce Social Login: by YITH – 1.4.8
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    gift-card (gift-card)
    grouped (grouped)
    pw gift card (pw-gift-card)
    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: #6 - /shop/
    Carrello: #7 - /carrello/
    Pagamento: #8 - /checkout/
    Il mio account: #9 - /my-account/
    Termini e condizioni: #1780 - /termini-e-condizioni/
    
    ### Theme ###
    
    Name: Porto
    Version: 1.1
    Author URL: 
    Child Theme: ✔
    Parent Theme Name: Porto
    Parent Theme Version: 6.2.2
    Parent Theme Author URL: https://www.portotheme.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: porto/woocommerce/archive-product.php
    porto/woocommerce/cart/cart-empty.php
    porto/woocommerce/cart/cart-shipping.php
    porto/woocommerce/cart/cart-totals.php
    porto/woocommerce/cart/cart.php
    porto/woocommerce/cart/cross-sells.php
    porto/woocommerce/cart/mini-cart.php
    porto/woocommerce/cart/proceed-to-checkout-button.php
    porto/woocommerce/cart/shipping-calculator.php
    porto/woocommerce/checkout/form-billing.php
    porto/woocommerce/checkout/form-checkout.php
    porto/woocommerce/checkout/form-coupon.php
    porto/woocommerce/checkout/form-login.php
    porto/woocommerce/checkout/form-pay.php
    porto/woocommerce/checkout/form-shipping.php
    porto/woocommerce/checkout/payment-method.php
    porto/woocommerce/checkout/payment.php
    porto/woocommerce/checkout/review-order.php
    porto/woocommerce/checkout/thankyou.php
    porto/woocommerce/content-product-cat.php
    porto/woocommerce/content-product.php
    porto/woocommerce/content-single-product.php
    porto/woocommerce/content-widget-product.php
    porto/woocommerce/global/form-login.php
    porto/woocommerce/global/quantity-input.php
    porto/woocommerce/global/wrapper-start.php
    porto/woocommerce/loop/add-to-cart.php
    porto/woocommerce/loop/loop-end.php
    porto/woocommerce/loop/loop-start.php
    porto/woocommerce/loop/no-products-found.php
    porto/woocommerce/loop/orderby.php
    porto/woocommerce/loop/pagination.php
    porto/woocommerce/loop/rating.php
    porto/woocommerce/loop/sale-flash.php
    porto/woocommerce/myaccount/dashboard.php
    porto/woocommerce/myaccount/downloads.php
    porto/woocommerce/myaccount/form-add-payment-method.php
    porto/woocommerce/myaccount/form-edit-account.php
    porto/woocommerce/myaccount/form-edit-address.php
    porto/woocommerce/myaccount/form-login.php
    porto/woocommerce/myaccount/form-lost-password.php
    porto/woocommerce/myaccount/form-reset-password.php
    porto/woocommerce/myaccount/lost-password-confirmation.php
    porto/woocommerce/myaccount/my-account.php
    porto/woocommerce/myaccount/my-address.php
    porto/woocommerce/myaccount/my-downloads.php
    porto/woocommerce/myaccount/my-orders.php
    porto/woocommerce/myaccount/navigation.php
    porto/woocommerce/myaccount/orders.php
    porto/woocommerce/myaccount/payment-methods.php
    porto/woocommerce/myaccount/view-order.php
    porto/woocommerce/order/form-tracking.php
    porto/woocommerce/order/order-details-customer.php
    porto/woocommerce/order/order-details.php
    porto/woocommerce/order/order-downloads.php
    porto/woocommerce/order/tracking.php
    porto/woocommerce/single-product/add-to-cart/simple.php
    porto/woocommerce/single-product/add-to-cart/variable.php
    porto/woocommerce/single-product/meta.php
    porto/woocommerce/single-product/product-attributes.php
    porto/woocommerce/single-product/product-image.php
    porto/woocommerce/single-product/product-thumbnails.php
    porto/woocommerce/single-product/rating.php
    porto/woocommerce/single-product/related.php
    porto/woocommerce/single-product/review-meta.php
    porto/woocommerce/single-product/review-rating.php
    porto/woocommerce/single-product/review.php
    porto/woocommerce/single-product/sale-flash.php
    porto/woocommerce/single-product/short-description.php
    porto/woocommerce/single-product/tabs/tabs.php
    porto/woocommerce/single-product/title.php
    porto/woocommerce/single-product/up-sells.php
    porto/woocommerce/single-product-reviews.php
    
    ### Action Scheduler ###
    
    Completato: 5.530
    Oldest: 2021-11-09 15:00:08 +0100
    Newest: 2021-12-02 05:42:31 +0100
    
    In attesa: 1
    Oldest: 2021-12-02 05:47:31 +0100
    Newest: 2021-12-02 05:47:31 +0100
    
    ### Status report information ###
    
    Generated at: 2021-12-02 05:42:33 +01:00
    

    I tried to install it manually but nothing.
    I deactivated all the plugins and activated them one by one and I noticed that the plugin that is in conflict is precisely that of the theme “Porto Theme – Functionality: by P-Themes – 2.2.1”.
    I contacted the author of the theme and they told me that their plugin works perfectly with woocommerce.
    actually if I install everything from scratch it works, but if I update my woocommerce from version 5.3.2 to a later version this error appears.
    I can’t understand what could have happened.

    Plugin Support nathvi V. a11n

    (@nathvi)

    Hello @dragonfra

    I deactivated all the plugins and activated them one by one and I noticed that the plugin that is in conflict is precisely that of the theme “Porto Theme – Functionality: by P-Themes – 2.2.1”.

    Glad to read you were able to found the cause. I see the current theme is overriding several templates on the site and could be causing the problem.

    As a next step, can you try switching your site to a different theme? We recommend Storefront as this is a theme that has not been modified or would override any templates

    I contacted the author of the theme and they told me that their plugin works perfectly with woocommerce.

    I see. Even if the theme is compatible with WooCommerce, deactivating this makes the error go away, which I suspect is the root cause.

    actually if I install everything from scratch it works, but if I update my woocommerce from version 5.3.2 to a later version this error appears.

    Could you try this with the Storefront theme and let us know if the same happens?

    the very strange thing is if I install the theme from a clean installation that is, starting from scratch Woocommerce works perfectly my problem is related to the various updates and I’m experiencing them from the next version to 5.3.2 so in my opinion something will have happened at the database level

    I have the same problem. My Woocommerce version is 5.9
    i have this problem:

    Fatal error: Uncaught Error: Call to undefined method WP_Error::get_data() in /home/dxqfzylx/camelyfloreria.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /home/dxqfzylx/camelyfloreria.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(379): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store') #1 /home/dxqfzylx/camelyfloreria.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(317): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /home/dxqfzylx/camelyfloreria.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /home/dxqfzylx/camelyfloreria.com/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback(Array, '', Object(WP_Block)) #4 /home/dxqfzylx/camely in /home/dxqfzylx/camelyfloreria.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://camelyfloreria.com
    Site address (URL): https://camelyfloreria.com
    WC Version: 5.9.0
    REST API Version: ✔ 5.9.0
    WC Blocks Version: ✔ 6.1.0
    Action Scheduler Version: ✔ 3.3.0
    WC Admin Version: ✔ 2.8.0
    Log Directory Writable: ✔
    WP Version: 5.8.2
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: es_ES
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.25
    PHP Post Max Size: 1 GB
    PHP Time Limit: 60
    PHP Max Input Vars: 10000
    cURL Version: 7.79.1
    OpenSSL/1.1.1l
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.31-MariaDB-cll-lve
    Max Upload Size: 1 GB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 5.9.0
    WC Database Prefix: wpxe_
    Tamaño total de la base de datos: 24.86MB
    Tamaño de los datos de la base de datos: 23.44MB
    Tamaño del índice de la base de datos: 1.42MB
    wpxe_woocommerce_sessions: Datos: 0.56MB + Índice: 0.02MB + Motor MyISAM
    wpxe_woocommerce_api_keys: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_woocommerce_attribute_taxonomies: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_woocommerce_downloadable_product_permissions: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_woocommerce_order_items: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_woocommerce_order_itemmeta: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_woocommerce_tax_rates: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_woocommerce_tax_rate_locations: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_woocommerce_shipping_zones: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_woocommerce_shipping_zone_locations: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_woocommerce_shipping_zone_methods: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_woocommerce_payment_tokens: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_woocommerce_payment_tokenmeta: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_woocommerce_log: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_actionscheduler_actions: Datos: 0.06MB + Índice: 0.05MB + Motor MyISAM
    wpxe_actionscheduler_claims: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_actionscheduler_groups: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_actionscheduler_logs: Datos: 0.05MB + Índice: 0.04MB + Motor MyISAM
    wpxe_commentmeta: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_comments: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_e_submissions: Datos: 0.00MB + Índice: 0.03MB + Motor MyISAM
    wpxe_e_submissions_actions_log: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_e_submissions_values: Datos: 0.03MB + Índice: 0.01MB + Motor MyISAM
    wpxe_links: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_niubiz_pagoefectivo: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_niubiz_payment: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_options: Datos: 6.31MB + Índice: 0.15MB + Motor MyISAM
    wpxe_postmeta: Datos: 12.21MB + Índice: 0.56MB + Motor MyISAM
    wpxe_posts: Datos: 3.61MB + Índice: 0.15MB + Motor MyISAM
    wpxe_premmerce_currencies: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_rsssl_csp_log: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_termmeta: Datos: 0.01MB + Índice: 0.01MB + Motor MyISAM
    wpxe_terms: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_term_relationships: Datos: 0.01MB + Índice: 0.03MB + Motor MyISAM
    wpxe_term_taxonomy: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_usermeta: Datos: 0.04MB + Índice: 0.01MB + Motor MyISAM
    wpxe_users: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_wc_admin_notes: Datos: 0.02MB + Índice: 0.00MB + Motor MyISAM
    wpxe_wc_admin_note_actions: Datos: 0.01MB + Índice: 0.00MB + Motor MyISAM
    wpxe_wc_category_lookup: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_wc_customer_lookup: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_wc_download_log: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_wc_order_coupon_lookup: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_wc_order_product_lookup: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_wc_order_stats: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_wc_order_tax_lookup: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_wc_product_meta_lookup: Datos: 0.01MB + Índice: 0.03MB + Motor MyISAM
    wpxe_wc_reserved_stock: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_wc_tax_rate_classes: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_wc_webhooks: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_wpforms_tasks_meta: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM
    wpxe_yoast_indexable: Datos: 0.37MB + Índice: 0.11MB + Motor MyISAM
    wpxe_yoast_indexable_hierarchy: Datos: 0.01MB + Índice: 0.03MB + Motor MyISAM
    wpxe_yoast_migrations: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM
    wpxe_yoast_primary_term: Datos: 0.01MB + Índice: 0.02MB + Motor MyISAM
    wpxe_yoast_prominent_words: Datos: 0.00MB + Índice: 0.02MB + Motor MyISAM
    wpxe_yoast_seo_links: Datos: 0.12MB + Índice: 0.03MB + Motor MyISAM
    
    ### Post Type Counts ###
    
    attachment: 301
    customize_changeset: 4
    custom_css: 2
    elementor-hf: 1
    elementor_library: 15
    nav_menu_item: 35
    page: 16
    post: 2
    product: 178
    revision: 694
    shop_order: 5
    whatsapp-accounts: 2
    wpforms: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ❌Los mensajes de error no deberían mostrarse a los visitantes.
    
    ### Active Plugins (27) ###
    
    Astra Pro: por Brainstorm Force – 3.6.3
    Plantillas de inicio: por Brainstorm Force – 2.7.5
    Element Pack Pro: por BdThemes – 5.13.0
    Elementor Pro: por Elementor.com – 3.5.1
    Elementor: por Elementor.com – 3.4.8
    Happy Elementor Addons Pro: por weDevs – 2.2.1
    Happy Elementor Addons: por weDevs – 3.3.0
    Elementor Header & Footer Builder: por Brainstorm Force
    Nikhil Chavan – 1.6.5
    
    JetElements For Elementor: por Crocoblock – 2.6.0
    JetSearch For Elementor: por Crocoblock – 2.1.8
    Jetpack: por Automattic – 10.3
    Loco Translate: por Tim Whitlock – 2.5.5
    WooCommerce pagos con Niubiz: por Integraciones Necomplus – 3.0
    Premmerce Multi-currency for Woocommerce: por premmerce – 2.3.1
    Really Simple SSL pro: por Really Simple Plugins – 5.2.2
    Really Simple SSL: por Really Simple Plugins – 5.2.0
    WC City Select: por 8manos – 1.0.6
    WhatsApp Chat | Shared By Themes24x7.com: por NinjaTeam – 2.1
    Checkout Field Editor for WooCommerce: por ThemeHigh – 1.5.1
    WooCommerce Advanced Shipping: por Jeroen Sormani – 1.0.14
    Checkout Fields Manager for WooCommerce: por QuadLayers – 5.5.2
    WooCommerce: por Automattic – 5.9.0
    WooLentor Pro: por HasThemes – 1.7.4
    WooLentor - WooCommerce Elementor Addons + Builder: por HasThemes – 2.1.1
    Yoast SEO Premium: por El equipo Yoast – 17.6
    Yoast SEO: por Equipo Yoast – 17.6
    WPForms Lite: por WPForms – 1.7.1.2
    
    ### Inactive Plugins (0) ###
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: PEN (S/)
    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 ###
    
    Base de la tienda: #1752 - /shop/
    Carrito: #998 - /carrito/
    Finalizar compra: #12 - /checkout/
    Mi cuenta: #13 - /my-account/
    Términos y condiciones: #25 - /
    
    ### Theme ###
    
    Name: Astra hijo
    Version: 1.0.0
    Author URL: https://africa.pe
    Child Theme: ✔
    Parent Theme Name: Astra
    Parent Theme Version: 3.7.5
    Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Completo: 291
    Oldest: 2021-11-18 12:06:00 +0000
    Newest: 2021-12-04 00:39:38 +0000
    
    Pendiente: 4
    Oldest: 2021-12-05 00:31:51 +0000
    Newest: 2021-12-10 09:10:56 +0000
    
    ### Status report information ###
    
    Generated at: 2021-12-03 20:09:40 -05:00
    
    Plugin Support Kateryna K. a11n

    (@katinthehatsite)

    Hi @camely would you be able to run a full conflict test on the site and let us know if the issue persists with the default theme and all plugins but WooCommerce activated?

    Plugin Support 3 Sons Development – a11n

    (@3sonsdevelopment)

    Hi @camely,

    Hopefully, you were able to get this conflict sorted out. Since it’s been a while since we last heard back from you, I’m going to mark this thread resolved.

    If you have any questions or trouble, please open up a new thread and we’ll be happy to help out.

    Cheers

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Fatal Error – RestApi.php on line 64’ is closed to new replies.