Title: Warning: utf8_encode() expects exactly 1 parameter, 2 given
Last modified: January 24, 2017

---

# Warning: utf8_encode() expects exactly 1 parameter, 2 given

 *  Resolved [jwurster](https://wordpress.org/support/users/jwurster/)
 * (@jwurster)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/warning-utf8_encode-expects-exactly-1-parameter-2-given/)
 * With the latest version, there is a warning message in the Admin Events widget.
   The complete error is:
 * Warning: utf8_encode() expects exactly 1 parameter, 2 given in …/public_html/
   wp-content/plugins/rsvpmaker/rsvpmaker-plugabble.php on line 4546

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

 *  Plugin Author [davidfcarr](https://wordpress.org/support/users/davidfcarr/)
 * (@davidfcarr)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/warning-utf8_encode-expects-exactly-1-parameter-2-given/#post-8693930)
 * Can you clarify where exactly you’re seeing that? Is it on the widgets screen,
   something to do with the sidebar widget for displaying events?
 * I’m putting out a version 4.5 update that includes a few other bug fixes, so 
   try that and let me know if the problem goes away. I don’t see an issue with 
   that line number, and I’m not getting the error.
 *  Thread Starter [jwurster](https://wordpress.org/support/users/jwurster/)
 * (@jwurster)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/warning-utf8_encode-expects-exactly-1-parameter-2-given/#post-8693991)
 * It’s on the Dashboard screen.
 *  Thread Starter [jwurster](https://wordpress.org/support/users/jwurster/)
 * (@jwurster)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/warning-utf8_encode-expects-exactly-1-parameter-2-given/#post-8694007)
 * It must be a problem with my pluggable php. I have:
 * utf8_encode(strftime($rsvp_options[“long_date”]),strtotime($row->datetime)), 
   $draft );
 *  Plugin Author [davidfcarr](https://wordpress.org/support/users/davidfcarr/)
 * (@davidfcarr)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/warning-utf8_encode-expects-exactly-1-parameter-2-given/#post-8694293)
 * I found the issue and will put out a fix later today or tomorrow at the latest.

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

The topic ‘Warning: utf8_encode() expects exactly 1 parameter, 2 given’ is closed
to new replies.

 * ![](https://ps.w.org/rsvpmaker/assets/icon-128x128.png?rev=1050978)
 * [RSVPMaker](https://wordpress.org/plugins/rsvpmaker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rsvpmaker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rsvpmaker/)
 * [Active Topics](https://wordpress.org/support/plugin/rsvpmaker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rsvpmaker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rsvpmaker/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [davidfcarr](https://wordpress.org/support/users/davidfcarr/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/warning-utf8_encode-expects-exactly-1-parameter-2-given/#post-8694293)
 * Status: resolved