Title: initialshock's Replies | WordPress.org

---

# initialshock

  [  ](https://wordpress.org/support/users/initialshock/)

 *   [Profile](https://wordpress.org/support/users/initialshock/)
 *   [Topics Started](https://wordpress.org/support/users/initialshock/topics/)
 *   [Replies Created](https://wordpress.org/support/users/initialshock/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/initialshock/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/initialshock/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/initialshock/engagements/)
 *   [Favorites](https://wordpress.org/support/users/initialshock/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Upload images doesn't work!](https://wordpress.org/support/topic/plugin-events-manager-upload-images-doesnt-work/)
 *  [initialshock](https://wordpress.org/support/users/initialshock/)
 * (@initialshock)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-events-manager-upload-images-doesnt-work/#post-1764967)
 * Hi wpvince,
 * I’ve added a temporary fix…
 * Change line 100 from:
    if( preg_match(‘/,/’, $defaults[‘orderby’]) ) {
 * To:
    if(!is_array($defaults[‘orderby’]) && preg_match(‘/,/’, $defaults[‘orderby’])){
 * As this code checks if $defaults[‘orderby’] is a string split by commas. If so,
   it then converts it to a php array. But it doesn’t need to do this if it is an
   array already, hence why I added the extra check.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Upload images doesn't work!](https://wordpress.org/support/topic/plugin-events-manager-upload-images-doesnt-work/)
 *  [initialshock](https://wordpress.org/support/users/initialshock/)
 * (@initialshock)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-events-manager-upload-images-doesnt-work/#post-1764964)
 * It appears so, but a new problem has arisen. On my events page in the front-end,
   I am getting this error:
 * Warning: preg_match() expects parameter 2 to be string, array given in /var/www/
   vhosts/path/to/my/blog/wp-content/plugins/events-manager/classes/object.php on
   line 100
 * Any ideas what’s up?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Upload images doesn't work!](https://wordpress.org/support/topic/plugin-events-manager-upload-images-doesnt-work/)
 *  [initialshock](https://wordpress.org/support/users/initialshock/)
 * (@initialshock)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-events-manager-upload-images-doesnt-work/#post-1764950)
 * I’m also having this problem. Any idea when the fix will come?
    Thanks 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [RSS feed not fully displaying](https://wordpress.org/support/topic/rss-feed-not-fully-displaying/)
 *  Thread Starter [initialshock](https://wordpress.org/support/users/initialshock/)
 * (@initialshock)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/rss-feed-not-fully-displaying/#post-1600663)
 * Hmm, still no joy. I tried switching to the default theme with & without all 
   plugins deactivated. But still the same issue:
 * [http://www.my-carleasing.com/carleasing/feed](http://www.my-carleasing.com/carleasing/feed)
 * I noticed that some other users seem to be having similar problems, but unclear
   if they fixed them (and how). Trying to contact them now.
 * Any other ideas?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [RSS feed not fully displaying](https://wordpress.org/support/topic/rss-feed-not-fully-displaying/)
 *  Thread Starter [initialshock](https://wordpress.org/support/users/initialshock/)
 * (@initialshock)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/rss-feed-not-fully-displaying/#post-1600660)
 * Hi Samuel,
 * Thanks for your reply. The validator just tells me what I already know though
   unfortunately 🙁
 * I deactivated all my plugins & the issue is still there… this is a strange one…

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