Title: Warning: explode() expects parameter 2 &#8211; after installing WPtouch Plugin
Last modified: July 21, 2018

---

# Warning: explode() expects parameter 2 – after installing WPtouch Plugin

 *  [viking92](https://wordpress.org/support/users/viking92/)
 * (@viking92)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/warning-explode-expects-parameter-2-after-installing-wptouch-plugin/)
 * Hi there,
    I´m about to set up a online shop. I worked a lot in the past years
   with the free version of the WPtouch plugin.
 * Now, as soon as I turn the plugin on – I recieve following warning ONLY on my
   mobile devices and ONLY when the Plugin is turned on and I’m sorting all the 
   products into categories. As long as I don’t run it with the single categories
   in it I don’t recive any kind of errors. In the browser on my laptop evrything
   appears the way it`s supposed to be.
    ________
 *     ```
       ** WARNING: explode()expects parameter 2 to be string, array given in /www/htdocs/w017a426/wildwest-merch.com/wp-content/plugins/woocommere/includes/class-wc-query.php on line 448 **
       ```
   
 * ________
    Line 445 -451 look like this :
 *     ```
       }
   
       // Get order + orderby args from string.
       $orderby_value = explode( '-', $orderby_value );
       $orderby       = esc_attr( $orderby_value[0] );
       $order         = ! empty( $orderby_value[1] ) ? $orderby_value[1] : $order;
       }
       ```
   
 * _________
 * Anyone an idea what could cause the issue? Thanks in advance for any kind of 
   help!
    -  This topic was modified 7 years, 10 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This topic was modified 7 years, 10 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-explode-expects-parameter-2-after-installing-wptouch-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 10 months ago](https://wordpress.org/support/topic/warning-explode-expects-parameter-2-after-installing-wptouch-plugin/#post-10515260)
 * I recommend asking at [https://wordpress.org/support/plugin/wptouch#new-post](https://wordpress.org/support/plugin/wptouch#new-post)
   so the plugin’s / theme’s developers and support community can help you with 
   this.
 *  Thread Starter [viking92](https://wordpress.org/support/users/viking92/)
 * (@viking92)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/warning-explode-expects-parameter-2-after-installing-wptouch-plugin/#post-10515269)
 * Okay, I will do that! Thanks for your quick response. I appreciate that.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 10 months ago](https://wordpress.org/support/topic/warning-explode-expects-parameter-2-after-installing-wptouch-plugin/#post-10515311)
 * continued at [https://wordpress.org/support/topic/warning-explode-expects-parameter-2-after-installing-wptouch-plugin-2/](https://wordpress.org/support/topic/warning-explode-expects-parameter-2-after-installing-wptouch-plugin-2/)
    -  This reply was modified 7 years, 10 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

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

The topic ‘Warning: explode() expects parameter 2 – after installing WPtouch Plugin’
is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/warning-explode-expects-parameter-2-after-installing-wptouch-plugin/#post-10515311)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
