Title: Warning: explode() expects parameter 2 to be string, array
Last modified: April 17, 2020

---

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

 *  [komalrahane93](https://wordpress.org/support/users/komalrahane93/)
 * (@komalrahane93)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/warning-explode-expects-parameter-2-to-be-string-array-2/)
 * Hello WordPress committee,
 * I’ve installed Ultimate Post Widget on website from long time. Plugin version
   is 2.1.4
    WordPress version is 5.4. Plugin is giving the error as below. This
   error also pop up in the widgets as well.
 * “Warning: explode() expects parameter 2 to be string, array given in /home/sandbox/
   public_html/wp-content/plugins/ultimate-posts-widget/ultimate-posts-widget.php
   on line 104
 * Warning: explode() expects parameter 2 to be string, array given in /home/sandbox/
   public_html/wp-content/plugins/ultimate-posts-widget/ultimate-posts-widget.php
   on line 105
 * Warning: explode() expects parameter 2 to be string, array given in /home/sandbox/
   public_html/wp-content/plugins/ultimate-posts-widget/ultimate-posts-widget.php
   on line 106”
 * 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-to-be-string-array-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [komalrahane93](https://wordpress.org/support/users/komalrahane93/)
 * (@komalrahane93)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/warning-explode-expects-parameter-2-to-be-string-array-2/#post-12793103)
 * This is just follow up comment, Does anyone has insight for this issue?

Viewing 1 replies (of 1 total)

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

 * ![](https://s.w.org/plugins/geopattern-icon/ultimate-posts-widget_5b9f2b.svg)
 * [Ultimate Posts Widget](https://wordpress.org/plugins/ultimate-posts-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-posts-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-posts-widget/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [komalrahane93](https://wordpress.org/support/users/komalrahane93/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/warning-explode-expects-parameter-2-to-be-string-array-2/#post-12793103)
 * Status: not resolved