Forum Replies Created
-
AuthorPosts
-
September 13, 2016 at 9:50 am in reply to: HTTP ERROR 500 when trying to save Attendee Info #1163493
Port
ParticipantI’ve included our System Info with all but the relevant plugins deactivated and using the default WP theme as a private reply.
Could our PHP version have anything to do with the latest Event Tickets Pro update? This was all working just fine a couple weeks ago.
September 13, 2016 at 9:49 am in reply to: HTTP ERROR 500 when trying to save Attendee Info #1163492Port
ParticipantThis reply is private.
September 13, 2016 at 9:27 am in reply to: HTTP ERROR 500 when trying to save Attendee Info #1163393Port
ParticipantHi Cliff,
I’ve verified all software is up to the latest version. I’ve also gone through the testing for conflicts guide a second time and have tested with all but TEC/Woo plugins disabled, using the default WP 2015 theme, still getting the HTTP ERROR 500.
Changing tickets quantity works fine, however we get a 500 when adding them to the cart. That resulted in this in the debug log:
[13-Sep-2016 15:41:47 UTC] PHP Catchable fatal error: Argument 1 passed to tribe_array_merge_recursive() must be of the type array, boolean given, called in /home/portara1/public_html/wcf/wp-content/plugins/event-tickets-plus/src/Tribe/Meta/Storage.php on line 97 and defined in /home/portara1/public_html/wcf/wp-content/plugins/event-tickets/common/src/functions/utils.php on line 14
Based on the error, and because I’m using a default theme and have all irrelevant plugins disabled, the issue has to be w/this plugin. I clear the debug log and try everything all over again and see that error each time.
Navigating to the home page, events page, single-event pages all work. I cannot go through the ticket purchase steps because of the above error.
I’m attaching a screen shot of the ticket edit area of the event I’m testing with.
Port
ParticipantTo further my response above — if I enter the order manually via admin account and assign it to the dummy customer account, I can see the order via dummy account on the front end.
I cannot see the tickets themselves when going to the “event > View Tickets” via dummy account, though.
Curiously, if I go to the event on the front end with the admin account, I can see the extra 2 tickets that *should be* assigned to the dummy account, and I can edit the attendee info.
That should not be if I assigned that order & tickets to the dummy account.
Port
ParticipantHi Hunter,
We are no longer using WooCommerce Tickets and Event Tickets Plus is active.
Via admin account, I can see the order has gone through and the tickets stock has been decreased. Going to the event attendees list, the two new tickets are not showing up.
Logging in via dummy account, I see the order has gone through and see it under My Account > Orders. If I navigate to the event, it says I have 7 tickets, though I should have 9 now. Clicking on “View Your Tickets” also only shows 7 and not the two new ones added via admin manual entry.
-Paul
Port
ParticipantHunter,
I’ve added an order manually via WooCommerce > Orders and set up a dummy user account. I then logged in to the front end w/that new dummy account, went to the event page, clicked on Tickets and do not see the two tickets and cannot add Attendee info.
I also cannot access the Attendee info by going to My Account > Orders > manually entered order.
-Paul
Port
ParticipantI, too, need to know this.
December 10, 2015 at 9:26 am in reply to: Sort tickets (email & order review) by event date & time, not order added to car #1038966Port
ParticipantThanks, Brian.
December 10, 2015 at 9:02 am in reply to: Sort tickets (email & order review) by event date & time, not order added to car #1038948Port
ParticipantHi Brian,
The tickets in the cart, by their corresponding event’s start day & time.
December 9, 2015 at 9:27 am in reply to: Sort tickets (email & order review) by event date & time, not order added to car #1038325Port
ParticipantI’m now working w/the following bit of code to see if I can sort the tickets in the Cart according to the event start date/time:
add_action( ‘woocommerce_cart_loaded_from_session’, function() {
global $woocommerce;
$products_in_cart = array();
foreach ( $woocommerce->cart->cart_contents as $key => $item ) {
$event = tribe_events_get_ticket_event( $item[‘product_id’] );
$event_start = tribe_get_start_date( $event ); //echo $event_start;//$products_in_cart[ $key ] = $item[‘data’]->get_title();
$products_in_cart[ $key ] = $item[‘data’]->$event_start;
}
usort( $products_in_cart );
$cart_contents = array();
foreach ( $products_in_cart as $cart_key => $product_title ) {
$cart_contents[ $cart_key ] = $woocommerce->cart->cart_contents[ $cart_key ];
}
$woocommerce->cart->cart_contents = $cart_contents;
}, 100 );As you can see from the commented “//$products_in_cart[ $key ] = $item[‘data’]->get_title();“, sorting by get_title() worked (via natsort), however it does not working trying to sorty by event_start.
December 9, 2015 at 6:38 am in reply to: Sort tickets (email & order review) by event date & time, not order added to car #1038273Port
ParticipantThanks, I added this request to the User Voice a couple days ago. I also see the request for a schedule / itinerary there (and here), so hopefully that becomes a feature soon.
For the meta fields list that you provided — do you have any code samples of how your meta fields are used?
December 8, 2015 at 6:54 am in reply to: Sort tickets (email & order review) by event date & time, not order added to car #1037613Port
ParticipantTrying to order tickets chronologically boils down to me trying create an Itinerary of tickets purchased — I’ve seen many requests for that feature on here.
December 7, 2015 at 3:11 pm in reply to: Sort tickets (email & order review) by event date & time, not order added to car #1037215Port
ParticipantThanks for the meta fields, Brian.
I’m able to pull the event’s start date while in the ticket query, however there is no query for me to modify to be able to search by the start date.
I am turning in for the day but will get back at this in the morning. I have updated code I’m still working on that may be getting closer.
By the way, I don’t get why tickets are not sorted chronologically by default if this is an events-based product that is tied to a calendar event. Seems like that’d be out-of-the-box?
December 7, 2015 at 11:08 am in reply to: Sort tickets (email & order review) by event date & time, not order added to car #1037056Port
ParticipantI’d also found the following function to add the ticket’s corresponding event’s start date & time to the Order Review screen:
function tribe_add_eventdate_order_title_wootickets ($title, $item) {
$event = tribe_events_get_ticket_event( $item[‘product_id’] );
if ($event !== false) {
$title .= ‘ – <br /> <span class=”ticket_start_date”>’.tribe_get_start_date($event).'</span>’;
}
return $title;
}
add_filter(‘woocommerce_order_item_name’, ‘tribe_add_eventdate_order_title_wootickets’, 100, 2);Is there any way to get the items to sort by tribe_get_start_date($event)?
December 7, 2015 at 8:39 am in reply to: Sort tickets (email & order review) by event date & time, not order added to car #1036948Port
ParticipantSomething else I forgot to ask about: what I’ve done in the past is latched on to the default WordPress query like so:
/* take default query but sort by name */ query_posts($query_string . ‘&orderby=title&order=ASC’);
As you can see, I was able to add to the default query because I knew it was using the $query_string variable.
What would that variable be in this case? (if it’s set up this way)
-
AuthorPosts
