Events Made Easy Forums Generic eme_get_answers unreliable?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #52241
    Anonymous
    Inactive

    As we’ve been discussing elsewhere, I’m implementing a coupon code system into my EME installation. I saw in another forum thread that I can call eme_get_answers to get the data from custom fields that I’ve added to my RSVP form. However, after testing over the past several days, it appears that it’s not always reliable. It’ll work great for a day, but when I come back to it the next day, it’s not working, and returns an empty array. I’ll run a bunch of tests, and then suddenly it’ll start working again. The next day, it’s back to not working.

    #52243
    Franky
    Keymaster

    If that’s the fenomena, it most probably indicates a problem with your DB (disk full). I encountered similar effects in the past myself.

    #52248
    Anonymous
    Inactive

    Never mind. It was user error. I was passing in the event ID to eme_get_answers, when it should have been the booking ID. Not sure how I had it working originally, but it was probably a brain hiccup introduced when I tried to optimize some stuff.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Generic’ is closed to new topics and replies.
Scroll to Top