List of subscibers is empty on the front-end after updates

WordPress Event Management, Calendars & Registration Forums General Question List of subscibers is empty on the front-end after updates

This topic contains 4 replies, has 2 voices, and was last updated by  Stephen Harris 4 years, 3 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36805

    Previous month I did some updates to the pro and front end submission form and since then the names of the subscriber are empty in the database. I use the meta field value for “_eo_booking_meta_name” at front-end.
    Please check these screenshots to see the difference.

    https://i.imgur.com/WEtFk3b.jpg

    https://i.imgur.com/arqZaZk.jpg

    PS. I have maybe 1 question a year. It should help if you put an autoresponder on this email address wp.event.organiser@gmail.com (or just answer these emails)

    Olaf Lederer
    #36820

    Hi Olaf,

    When viewing the booking in the booking admin page, can you see the bookee details?

    Stephen Harris
    #36822

    Hi Stephen,

    check the screenshot:
    https://i.imgur.com/fk0pgsD.jpg

    Olaf Lederer
    #36852

    Hi Stephen, any news on this question?
    My customer becomes a bit nervous…

    Olaf Lederer
    #36854

    Hi Olaf,

    So in that instance the booking is made by a logged-in user, so the bookee data comes from the wp_user table, rather than the booking meta table.

    If you have a booking object (EO_Booking, you and get use $booking->get_bookee()->get_display_name() and $booking->get_bookee()->get_email() and it will work for both logged-in and guess bookees.

    Alternatively if you use the eo_get_booking_meta() method (see http://codex.wp-event-organiser.com/function-eo_get_bookings.html for example) – that will abstract that logic for you.

    Stephen Harris
Viewing 5 posts - 1 through 5 (of 5 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.