Title: Error appears Warning: explode() expects parameter 2 to be string, array given
Last modified: May 10, 2018

---

# Error appears Warning: explode() expects parameter 2 to be string, array given

 *  Resolved [foostore](https://wordpress.org/support/users/foostore/)
 * (@foostore)
 * [8 years ago](https://wordpress.org/support/topic/error-appears-warning-explode-expects-parameter-2-to-be-string-array-given/)
 * Good afternoon! I have a problem that I could not resolve, the following error
   appears:
 * 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
 * PHP 7.0 I updated and did not resolve 7.2 –
    -  This topic was modified 8 years ago by [foostore](https://wordpress.org/support/users/foostore/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-appears-warning-explode-expects-parameter-2-to-be-string-array-given%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Theme Author [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * (@oceanwp)
 * [8 years ago](https://wordpress.org/support/topic/error-appears-warning-explode-expects-parameter-2-to-be-string-array-given/#post-10267670)
 * Hello, from the error, it seems to be an issue with WooCommerce, you will need
   to contact them.
 *  Thread Starter [foostore](https://wordpress.org/support/users/foostore/)
 * (@foostore)
 * [8 years ago](https://wordpress.org/support/topic/error-appears-warning-explode-expects-parameter-2-to-be-string-array-given/#post-10268275)
 * OK thank you
 *  Thread Starter [foostore](https://wordpress.org/support/users/foostore/)
 * (@foostore)
 * [8 years ago](https://wordpress.org/support/topic/error-appears-warning-explode-expects-parameter-2-to-be-string-array-given/#post-10268637)
 * Hello OceanWP, I was able to find a problem that I believe can contribute either
   to you or to woocommerce, 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)
 *  Theme Author [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * (@oceanwp)
 * [8 years ago](https://wordpress.org/support/topic/error-appears-warning-explode-expects-parameter-2-to-be-string-array-given/#post-10270592)
 * Hi, I just tried on my site, I don’t have this problem when I change this setting.

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

The topic ‘Error appears Warning: explode() expects parameter 2 to be string, array
given’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.6/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/error-appears-warning-explode-expects-parameter-2-to-be-string-array-given/#post-10270592)
 * Status: resolved