Support » Plugin: Events Made Easy » Event Cancelation not working in 2.1.106

  • Resolved dg1lxs

    (@dg1lxs)


    Hi,

    I am running a booking page for booking flexible childcare during COVID times but since the update to the latest version there is only an empty page returned after clicking the #_CANCEL_OWN_LINK Link from a [eme_mybookings] shortcode.
    In the log I have a php warning before the Ajax call:

    today at 20:31  [Tue Jan 26 19:31:36.807476 2021] [php7:warn] [pid 405] [client 172.18.0.28:49068] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/wp-content/plugins/events-made-easy/eme_formfields.php on line 990, referer: https://XXXXXX/meine-buchungen/
    
    today at 20:31  172.18.0.28 - - [26/Jan/2021:19:31:36 +0000] "GET /veranstaltungen/?eme_cancel_payment=9a3c5b43fe0c4f22eb574e62a78a5d9992a0f227662a64 HTTP/1.1" 200 6874 "https://xxxxxxx/meine-buchungen/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0"

    It was for sure working 2-3 weeks ago and I did not get negative feedback during that time, so I think it was the last update to 2.1.106 causing this issue.

    best regards,

    Alexander

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Franky

    (@liedekef)

    Confirmed, due to some code shifting I forgot to add an argument to a function.
    This should fix it: https://plugins.trac.wordpress.org/changeset/2463120/

    Hi Franky,
    Can I hijack this thread?
    I have same error as above, Then it disappeared today.
    I have looked to code and your changes have been applied, now I don’t get the PHP error.
    But when I hit cancel it doesn’t cancel the booking and I don’t get any errors, it just returns blank and booking is still there after page refresh.
    I looked in dev tools and I get only 200 return. I have no errors.

    I know it’s not much to go with – but I can’t find anything which should be wrong…

    BR

    Kim

    Plugin Author Franky

    (@liedekef)

    Arg … I fixed the CANCEL_OWN_LINK (that removes all bookings for a person for an event), but not CANCEL_LINK (that allows to cancel a specific booking). There was a small typo there that I overlooked.
    This small one-liner change should fix it:
    https://plugins.trac.wordpress.org/changeset/2465476/

    Plugin Author Franky

    (@liedekef)

    Btw: I released a new version to fix this.

    Thread Starter dg1lxs

    (@dg1lxs)

    Hi, I just installed the 2.1.108 and I can confirm that the “CANCEL_OWN_LINK” works now as it should!

    (Version 2.1.107 did not pop up as a possible update)

    Thanks for the quick support!

    Alexander

    Hi Franky,

    I saw the update and everything worked perfect!

    So I agree with Alexander, thank you so much for quick and professional service! 🙏🏻😃

    Plugin Author Franky

    (@liedekef)

    Thanky you both for the kind words. Spread the word, make the world use EME 🙂 And if you feel up to it: leave a review of the plugin.
    And if you’re really up to it: buy me a coffee (but don’t feel obligated of course, EME is free for everybody to use) 😉

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.