وردپرس

Event Tickets qty sold of RSVP ticket is incorrect


I am using Event Tickets plugin with Events Calendar to setup a simple RSVP page.

To reproduce the issue:
1. Make a new events page, add a RSVP block, set the limit to be limitless/no limit
2. RSVP to the said page on the frontend, click view my rsvp to view /ticket/ page, and check ‘not going’, then update ticket.
3. Refresh back to event page, count will be correct (-1 from previous), repeat step 2 however check ‘going’ instead and come back to event page, count will be incorrect (remains -1 from previous)

The issue only occurs when there is no limit. If an event started out with a limit, but then changed to no limit, then the issue comes up as well.

The count is however correct when viewed through the backend blockeditor

I have tried disabling all other plugins and switching to default 2023 theme with no success. My versions of event calendar and event tickets are most up to date.

I have traced that the qty sold remains to be inaccurate in Tribe__Tickets__RSVP::get_tickets method, regardless if it uses cached or get_post_meta

The page I need help with: [log in to see the link]

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا