Title: Error message Warning: explode() expects parameter 2 to be string, array give
Last modified: May 11, 2018

---

# Error message Warning: explode() expects parameter 2 to be string, array give

 *  Resolved [foostore](https://wordpress.org/support/users/foostore/)
 * (@foostore)
 * [8 years ago](https://wordpress.org/support/topic/error-message-warning-explode-expects-parameter-2-to-be-string-array-give/)
 * Good evening!
    An error appears in all categories of product categories
 * `Warning: explode() expects parameter 2 to be string, array given in /home/u649476405/
   public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line
   454`
 * The message appeared from time to time.
 * woocommerce: 3.3.5
    PHP 7.0 Tema: OceanWP All updated plugins
 * Would anyone know how to help me?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-message-warning-explode-expects-parameter-2-to-be-string-array-give%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [foostore](https://wordpress.org/support/users/foostore/)
 * (@foostore)
 * [8 years ago](https://wordpress.org/support/topic/error-message-warning-explode-expects-parameter-2-to-be-string-array-give/#post-10268640)
 * This error was due to how it would show the ordering of the products, this error
   appears when I place the average classification order as shown in the link image
   below:
 * [http://prntscr.com/jge4y3](http://prntscr.com/jge4y3)
 * any other classification corrects the problem
    hown in the link image below:
 * [http://prntscr.com/jge56f](http://prntscr.com/jge56f)

Viewing 1 replies (of 1 total)

The topic ‘Error message Warning: explode() expects parameter 2 to be string, array
give’ 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/)

## Tags

 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 1 reply
 * 1 participant
 * Last reply from: [foostore](https://wordpress.org/support/users/foostore/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/error-message-warning-explode-expects-parameter-2-to-be-string-array-give/#post-10268640)
 * Status: resolved