• Resolved ronaldvw

    (@ronaldvw)


    I ran into an error:

    Warning: utf8_encode() expects exactly 1 parameter, 2 given in E:\laragon\www\tvstrokel\wp-content\plugins\rsvpmaker\rsvpmaker-plugabble.php on line 3138

    A misplaced closing bracket seems to be the cause:

    to fix, change (in rsvpmaker-plugabble.php on line 3138):

    $content .= '<p class="rsvp_status">' . esc_html( __( 'RSVPs accepted starting: ', 'rsvpmaker' ) . utf8_encode( rsvpmaker_date( $rsvp_options['long_date'] ), $rsvpstart ) ) . '</p>';

    to:

    $content .= '<p class="rsvp_status">' . esc_html( __( 'RSVPs accepted starting: ', 'rsvpmaker' ) . utf8_encode( rsvpmaker_date( $rsvp_options['long_date'] , $rsvpstart ) ) ) . '</p>';

    Note the misplaced closing ) following $rsvp_options['long_date'] moved to the end of the function.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author davidfcarr

    (@davidfcarr)

    Thank you for this fix. I regret that I didn’t see your note sooner, but adding this to the next release.

Viewing 1 replies (of 1 total)
  • The topic ‘error (warning) on page – fix provided’ is closed to new replies.