Error 500 while exporting attendees CSV

Home Forums Ticket Products Event Tickets Plus Error 500 while exporting attendees CSV

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1291795
    Frank
    Participant

    Hi,

    Got an HTTP ERROR 500 while export attendees to CSV.

    Do you have the same issue on your side?

    Regards,
    Frank

    #1291803
    Frank
    Participant

    Seems like this custom function is responsable. I commented those line and CSV export works fine.
    Did the latests release change any name of functions ?

    add_filter( 'tribe_events_tickets_attendees_table_column', 'populate_my_custom_attendee_column', 10, 3 );
    function populate_my_custom_attendee_column( $existing, $item, $column ) {
        if ( 'custom_id' !== $column ) return $existing;
        $order = new WC_Order( $item['order_id'] );
        $payment_method_title = $order->payment_method_title;
    
        return esc_html( $payment_method_title );
    }
    
    

    Regards,
    Frank

    • This reply was modified 8 years, 10 months ago by Frank.
    • This reply was modified 8 years, 10 months ago by Frank.
    #1292686
    Victor
    Member

    Hi Frank!

    I’m glad you could find the source of the problem. 🙂

    As from the functions, I’m not aware of any changes made to any function.

    Perhaps you should check your debug.log and see if any errors related to the server 500 show up and try to follow from there.

    I hope that helps and let me know if you have other questions.

    Best,
    Victor

    #1293627
    Frank
    Participant

    Hi Victor,

    Seems like this issue is only on one event with corrupted attendee data. Functions above work fine on others events 😉

    Thanks for the support!

    Have a great day,
    Frank

    #1293670
    Victor
    Member

    Right on Frank! I’m so glad to hear everything is working smoothly and I appreciate you following up to let us know. Definitely keep us posted if any other questions come up and we’d be happy to help.

    Cheers!
    Victor

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Error 500 while exporting attendees CSV’ is closed to new replies.