Forum Replies Created
-
AuthorPosts
-
newcollegeofflorida
Participantin event-ticket/src/Tribe/Metabox.php
$provider->clear_attendees_cache( $did_checkin );on line 367 and
$provider->clear_attendees_cache( $did_uncheckin );on line 403, should be
$provider->clear_attendees_cache( $_POST['event_ID'] );This would clear the transient ‘_transient_tribe_attendees’ for the event with the event_ID as it’s referenced in the database. It fixes my issue, and I think because it is a direct ajax call it should not cause other issues.
this is because both Tribe__Tickets__RSVP and Tribe__Tickets__Tickets have the checkin and uncheckin function. Those return true and not a post_id. The result of the checkin and uncheckin is used in clear_attendees_cache( right here ), but that function expects a variable “WP_Post $post The parent post or ID” as does the function it’s wrapping, Tribe__Post_Transient::instance()->delete.
Am I mistaken?
newcollegeofflorida
Participantpassword is tribe
newcollegeofflorida
ParticipantWhen an admin clicks the link “undo check-in”, the link turns into a blue button that says “check in”. Programmatically it’s the same as a checkbox if you’ve ever written UI from scratch.
This happens in 2 different environments.
I am working on a video for you
I have already gone thru the testing for conflicts, although, I used twenty seventeen rather then twenty sixteen. Is there a big difference?
I have disabled all plugins.
I have cleared browser cache and site cache.
I can continue looking for the issue, but as stated above, it has something to do with the $provider->clear_attendees_cache used in ajax_attendee_checkin() and ajax_attendee_uncheckin() in evenbt-tickets/src/Tribe. I will dig down there and let you know what comes up. I was thinking, because the behavior is only seen in the update, there might have been some change that would stand out.
I am making a video for you, but I have to migrate because our staging is currently being used for user testing
newcollegeofflorida
ParticipantI went back to an older version of my site before the last update and everything was working fine. this older version had:
- Event Ticket 4.6.3
- Event Ticket Plus 4.6.2
- The Events Calendar 4.6.9
- WooCommerce 3.6.2
to confirm the issue I started updating plugins. Updating event ticket and event ticket plus to 4.7.1 first, and the same behavior described in the original post is observed.
newcollegeofflorida
ParticipantI can deal with this behavior, but the people checking in are going to have a bad day and that day is a Saturday morning at 8am (not this Saturday morning, thankfully)
-
This reply was modified 8 years ago by
newcollegeofflorida.
newcollegeofflorida
ParticipantI dunno if it is worth it enough for you, but determining if you are on their staging environment is fairly easy
https://wpengine.com/support/determining-wp-engine-environment/
January 9, 2018 at 9:52 am in reply to: tribe_events_page_tickets-attendees’ not found in class-wp-hook.php on line 286 #1421617newcollegeofflorida
ParticipantThis reply is private.
newcollegeofflorida
Participantalso it’s event-tickets-plus/src/Tribe/Meta/Export.php
I’d love to edit that 😉
newcollegeofflorida
ParticipantSorry about the -> that should be ->
newcollegeofflorida
ParticipantI’d like to submit a fix
ref: codexevent-tickets/src/Tribe/Meta/Export.php needs
$filter_name = "manage_{$screen_base}_posts_columns";
instead of
$filter_name = "manage_{$screen_base}_columns";and event-tickets/src/Tribe/Attendees.php needs
$filter_name = "manage_{$this->page_id}_posts_columns";
instead of
$filter_name = "manage_{$this->page_id}_columns";it’s working for me
newcollegeofflorida
Participantalso of note, when I am at https://example.local/wp-admin/edit.php?post_type=tribe_events&page=tickets-attendees&event_id=XXX the current selected menu on the black admin navigation is POSTS not events. Dunno if that’s on purpose
newcollegeofflorida
ParticipantI attempted to turn off debugging using the above code, but the error is still shown in the PHP error log
October 27, 2017 at 7:51 am in reply to: Attendee Information Not Saving when adding to cart #1370063newcollegeofflorida
ParticipantNope we can close this thread, thanks Geoff
October 25, 2017 at 9:23 am in reply to: Attendee Information Not Saving when adding to cart #1368688newcollegeofflorida
ParticipantI rebuilt the whole thing from the ground up and everything is working. super strange
October 25, 2017 at 7:39 am in reply to: Attendee Information Not Saving when adding to cart #1368629newcollegeofflorida
ParticipantIs it possible to get prior versions of the plug in to test compatibility?
-
AuthorPosts
