Title: errors during update
Last modified: November 22, 2023

---

# errors during update

 *  Resolved [devsaredead](https://wordpress.org/support/users/devsaredead/)
 * (@devsaredead)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/errors-during-update/)
 * I have had this error in the last Woo updates, though the plugin updates fine:
 * **Warning**: Undefined array key “plugins” in **/—/public_html/wp-content/plugins/
   woocommerce/packages/woocommerce-blocks/src/BlockPatterns.php** on line **254**
   **
   Warning**: foreach() argument must be of type array|object, null given in **/—/
   public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockPatterns.
   php** on line **254**
 * The theme’s authors blame Woo. Any idea what it is?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [hrn1995 (woo-hc)](https://wordpress.org/support/users/aguinaldodarla/)
 * (@aguinaldodarla)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/errors-during-update/#post-17222265)
 * Hi [@devsaredead](https://wordpress.org/support/users/devsaredead/)
 * The error messages you’re seeing are related to the `BlockPatterns.php` file 
   in the WooCommerce Blocks package. The error can be caused by a plugin/theme 
   conflict. Kindly ensure that your WordPress is updated, then could you please
   try to deactivate all plugins and then update WooCommerce again to see if it 
   works?
 * Let us know how it goes!
 *  [Beauty of Code (woo-hc)](https://wordpress.org/support/users/beautyofcode/)
 * (@beautyofcode)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/errors-during-update/#post-17258668)
 * [@devsaredead](https://wordpress.org/support/users/devsaredead/),
 * We haven’t heard back from you in a while, so I’m going to mark this thread as
   resolved – we’ll be here if you still need help further with this.
 * Cheers!
 *  Thread Starter [devsaredead](https://wordpress.org/support/users/devsaredead/)
 * (@devsaredead)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/errors-during-update/#post-17260986)
 * [@beautyofcode](https://wordpress.org/support/users/beautyofcode/) I was waiting
   for a new Woo update, in order to check the issue

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘errors during update’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 3 replies
 * 6 participants
 * Last reply from: [devsaredead](https://wordpress.org/support/users/devsaredead/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/errors-during-update/#post-17260986)
 * Status: resolved