Title: Warning: array_filter() expects parameter 1 to be array, bool given
Last modified: September 14, 2022

---

# Warning: array_filter() expects parameter 1 to be array, bool given

 *  Resolved [Domonick Sanchez](https://wordpress.org/support/users/galagaz/)
 * (@galagaz)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/warning-array_filter-expects-parameter-1-to-be-array-bool-given/)
 * The following message is showing up at the top of my website:
 * Warning: array_filter() expects parameter 1 to be array, bool given in /home/
   customer/www/uniquecustomt-shirts.com/public_html/wp-content/plugins/woocommerce/
   includes/class-wc-frontend-scripts.php on line 65
 * Any help would be greatly appreciated. All my plug-ins are up to date.
 * I appreciate your time.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-array_filter-expects-parameter-1-to-be-array-bool-given%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/warning-array_filter-expects-parameter-1-to-be-array-bool-given/#post-16010600)
 * First try to deactivate all plugins except WooCommerce. If the error no longer
   occurs, one of the now deactivated plugins is to blame. You could then activate
   them individually until it occurs again.
 *  [Joey – a11n](https://wordpress.org/support/users/jricketts4/)
 * (@jricketts4)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/warning-array_filter-expects-parameter-1-to-be-array-bool-given/#post-16013992)
 * Hi [@galagaz](https://wordpress.org/support/users/galagaz/) – this warning is
   related to: [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)
   
   In the future, please be sure to post there for any issues related to the WooCommerce
   plugin.
 * This warning/issue has been fixed as of v6.9.1 of WooCommerce. Please go ahead
   and update and let us know in the WooCommerce forum if you continue to see any
   issues.
 *  Thread Starter [Domonick Sanchez](https://wordpress.org/support/users/galagaz/)
 * (@galagaz)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/warning-array_filter-expects-parameter-1-to-be-array-bool-given/#post-16014176)
 * Joey,
 * Thanks so much for the heads up. For any future issues, I’ll make sure and post
   in the correct forum.
 * Cheers.

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

The topic ‘Warning: array_filter() expects parameter 1 to be array, bool given’ 
is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Domonick Sanchez](https://wordpress.org/support/users/galagaz/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/warning-array_filter-expects-parameter-1-to-be-array-bool-given/#post-16014176)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
