Events Made Easy Forums Bug fixed or feature request implemented Error line 888 eme_rsvp.php, version 1.5.37

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #54212
    Anonymous
    Inactive

    After upgrading to 1.5.37, I get an error after a booking is submitted which causes the RSVP page to fail to appear.
    The error (which pops up briefly) is:
    WARNING: invalid argument supplied for foreach() in eme_rsvp.php on line 888

    The problem was fixed for me by downgrading this eme_rsvp.php with the file from the 1.5.36 version of EME.

    For anyone that experiences this problem, downgrading the file involves:
    – Downloading the pack https://downloads.wordpress.org/plugin/events-made-easy.1.5.36.zip
    – Unpack the zip file
    – FTP the events-made-easy/eme_rsvp.php file to your site at:
    wp-content/plugins/events-made-easy/eme_rsvp.php

    For reference, in case it is helpful, I am using multibooking functionality.

    The change in code is from:
    $booking = eme_get_booking ($booking_ids[0]);

    to

    foreach ($booking_ids_done as $booking_id) {
    $booking = eme_get_booking ($booking_id);

    The foreach argument seems to be invalid.

    #54218
    Franky
    Keymaster

    Confirmed. Just replacing in line 888 $booking_ids_done by $booking_ids should solve it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top