error (warning) on page – fix provided
-
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]
- The topic ‘error (warning) on page – fix provided’ is closed to new replies.