• Resolved victorpietro

    (@victorpietro)


    Hello, I am currently having this problem when I try to edit with Elementor my Products Archive. It started happening yesterday after a WooCommerce update.

    Here is the message:

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

    Here are my current WC and WP versions:

    
    Vers?o do WooCommerce:		5.6.0
    Pacote do WooCommerce REST API:		 5.6.0 /home1/xxxxxx/yyyyyy.com.br/wp-content/plugins/woocommerce/includes
    Pacote WooCommerce Blocks:		 5.5.1 /home1/xxxxxx/yyyyyy.com.br/wp-content/plugins/woocommerce/packages/woocommerce-blocks/
    Pacote do Agendador de a??es:		 3.2.1 /home1/xxxxxx/yyyyyy.com.br/wp-content/plugins/woocommerce/packages/action-scheduler
    Pacote do WooCommerce Admin:		 2.5.1 /home1/xxxxxx/yyyyyy.com.br/wp-content/plugins/woocommerce/packages/woocommerce-admin
    Diretório gravável de registros:		 /home1/xxxxxx/yyyyyy.com.br/wp-content/uploads/wc-logs/
    Vers?o do WordPress:		5.8
    

    And the plugins I use:

    
    Plugins ativados (31)
    ManageWP - Worker	 	por GoDaddy – 4.9.9
    FiboSearch - AJAX Search for WooCommerce	 	por FiboSearch Team – 1.13.0
    All In One WP Security	 	por Tips and Tricks HQ, Peter Petreski, Ruhul, Ivy – 4.4.9
    Antispam Bee	 	por pluginkollektiv – 2.10.0
    The SEO Framework	 	por The SEO Framework Team – 4.1.4
    BBQ Firewall	 	por Jeff Starr – 20210719
    Breadcrumb NavXT	 	por John Havlik – 6.6.0
    Child Theme Generator	 	por Serafino Corriero – 2.2.7
    Code Snippets	 	por Code Snippets Pro – 2.14.1
    Contact Form Entries	 	por CRM Perks – 1.2.1
    GDPR Cookie Consent	 	por WebToffee – 2.0.5
    Elementor Pro	 	por Elementor.com – 3.3.7
    Elementor	 	por Elementor.com – 3.4.1
    Folders	 	por Premio – 2.7.1
    Header Footer Code Manager	 	por 99robots – 1.1.11
    Jetpack	 	por Automattic – 10.0
    Media File Renamer	 	por Jordy Meow – 5.2.4
    Melhor Envio v2	 	por Melhor Envio – 2.9.14
    Pix por Piggly (para Woocommerce)	 	por Piggly Lab – 1.3.15
    Sticky Header Effects for Elementor	 	por Rwattner – 1.4.7
    UpdraftPlus - Backup/Restore	 	por UpdraftPlus.Com, DavidAnderson – 1.16.59
    White Label CMS	 	por www.videousermanuals.com – 2.2.3
    WooCommerce Cart Abandonment Recovery	 	por CartFlows Inc – 1.2.13
    Brazilian Market on WooCommerce	 	por Claudio Sanches – 3.7.2
    Mercado Pago payments for WooCommerce	 	por Mercado Pago – 5.3.1
    WooCommerce	 	por Automattic – 5.6.0
    Wordfence Security	 	por Wordfence – 7.5.5
    WP Mail SMTP	 	por WPForms – 3.0.3
    WP-Optimize - Clean, Compress, Cache	 	por David Anderson, Ruhani Rabin, Team Updraft – 3.1.12
    Smush	 	por WPMU DEV – 3.8.8
    WPForms Lite	 	por WPForms – 1.6.8.1
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Niall a11n

    (@wpniall)

    Hi @victorpietro,

    Thanks for reaching out to us! I’m sorry to hear you’re seeing this error.

    I recommend reaching out to Elementor support for further help with this issue. Based on the error log you shared, it sounds like Elementor is conflicting with WooCommerce Blocks. You can reach Elementor support here:

    Please be aware that we don’t support third-party plugins, and it would be best to reach out to Elementor support for further help with their plugin.

    Thank you!

    Plugin Support abwaita a11n

    (@abwaita)

    Hi,
    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to proceed as advised above!

    If you have further questions, please feel free to open a new topic.

    Thanks.

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