Events Made Easy › Forums › Bug fixed or feature request implemented › [eme_mybookings] shows “No bookings found”
- This topic has 9 replies, 2 voices, and was last updated 3 years ago by
Anonymous.
-
AuthorPosts
-
Tue 15 Feb 2022 at 01:13 #63883
Anonymous
InactiveAfter update EME to 2.2.59 [eme_mybookings] shortcode shows the text “No bookings found” to users with approved bookings registered.
The code is
[eme_mybookings template_id_header=29 template_id=30 template_id_footer=31]
The templates was created several months ago and working ok until today.
Tue 15 Feb 2022 at 01:34 #63884Anonymous
InactiveI tried with:
[eme_mybookings approved_status=1 template_id_header=29 template_id=30 template_id_footer=31]
and
[eme_mybookings rsvp_status=1 template_id_header=29 template_id=30 template_id_footer=31]
same ressult: “No bookings founds”
Tue 15 Feb 2022 at 08:56 #63885Franky
KeymasterIndeed, a typo after the last code changes.
This is the fix (add 2 lines in eme_rsvp.php and remove the words “AND” as indicated):
https://plugins.trac.wordpress.org/changeset/2678860/The change in eme_people is not relevant for you.
Wed 16 Feb 2022 at 01:09 #63903Anonymous
InactiveBug fix in 2.2.60, but the bug is back in 2.2.61
Wed 16 Feb 2022 at 08:57 #63904Franky
KeymasterI’m sorry, but that’s not somethinng I can reproduce here now. Here #_BOOKINGS works fine, trashed bookings are excluded
I also didn’t change the logic for #_BOOKINGS between 2.2.60 and 2.2.61, so that would be weird. If you have a demo setup where you can reproduce this, please forward me some admin account info so I can take a look (it might be some borderline case I currently miss).Wed 16 Feb 2022 at 10:08 #63905Anonymous
InactiveHi Franky.
No, i don’t have a demo setup, sorry.
But the issue is with eme_mybookings shortcode
I have seen that the problem disappears when a eventid is indicated into the shortcode
For example:
[eme_mybookings template_id_header=29 template_id=30 template_id_footer=31]
The result is: “No bookings found”. It does not matter if rsvp_status, approved_status or future is indicated. The result is always “No bookings found”
However, if the event id is indicated:
[eme_mybookings id=205 template_id_header=29 template_id=30 template_id_footer=31]
EME shows the booking for that user and that event.
Wed 16 Feb 2022 at 10:17 #63906Anonymous
InactiveMore info…..
The bookings for a user also do not appear in the wordpress user profile.
This is my user info:
—————————————-
Events Made Easy settingsPhone number xxxxxxxxx
The phone number used by Events Made Easy when the user is indicated as the contact person for an event.
Bookings made for future events
No bookings found.
——————————-
Wed 16 Feb 2022 at 10:22 #63907Franky
Keymastersorry, I focused on #_BOOKINGS, but [eme_mybookings] should be ok too. I’ll check again, maybe I’m overlooking something.
Wed 16 Feb 2022 at 10:31 #63908Franky
KeymasterOk, this should fix it:
https://plugins.trac.wordpress.org/changeset/2679705/Wed 16 Feb 2022 at 10:43 #63909Anonymous
InactiveIt works like a charm
Thanks a lot Franky
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.