• Resolved wpfreshness

    (@wpfreshness)


    Non admin users get an error when trying to cancel a reservation on version 5.10. When clicking the cancellation link an error message appears stating the user needs to login. The session is not destroyed – the user is still logged in.

    Cancelling a reservation as an admin through the same method does not appear to be an issue.

    I have downgraded to version 5.9.11.3 for now. This version does not appear to be affected by this bug.

    • This topic was modified 3 years, 7 months ago by wpfreshness.
Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same issue – Also rolled back to 5.9.11.3 and the issue is gone

    We have the same issue. Only admins can cancel reservations. So the only solution is to downgrade the plugin?

    em-actions.php

    change line 360 $EM_Booking->person->ID
    if( $EM_Booking->can_manage() || ($EM_Booking->person->ID == get_current_user_id() && get_option('dbem_bookings_user_cancellation')) ){

    into: $EM_Booking->get_person()->ID
    if( $EM_Booking->can_manage() || ($EM_Booking->get_person()->ID == get_current_user_id() && get_option('dbem_bookings_user_cancellation')) ){

    Plugin Support angelo_nwl

    (@angelo_nwl)

    Hi,

    EM version 5.11 is out now; you can try and confirm the fixes to this.

    Last update (5.11) resolved this issue!

    Thread Starter wpfreshness

    (@wpfreshness)

    Thanks! It works

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[5.10] Error cancelling event – Login Required’ is closed to new replies.