• Resolved increaseweb604

    (@increaseweb604)


    This happens when I try to see my Stripe orders.

    I had a previous issue at:

    https://www.ads-software.com/support/topic/undefined-is-not-an-object-evaluating-ky-post/

    I fixed that by downgrading to WordPress 6.1

    Now I’m getting a critical error when viewing orders

    See below of where this error occurs:

    https://thetrufflefarm.ca/wp-content/uploads/2023/11/Screen-Shot-2023-11-08-at-1.53.21-PM.png

    The error I got in my debug log is as follows:

    [08-Nov-2023 21:50:49 UTC] PHP Fatal error: Uncaught TypeError: end(): Argument #1 ($array) must be of type array, bool given in /home/trufflefarm/public_html/wp-content/plugins/event-tickets/src/Tickets/Commerce/Gateways/Stripe/Order.php:23 Stack trace: #0 /home/trufflefarm/public_html/wp-content/plugins/event-tickets/src/Tickets/Commerce/Gateways/Stripe/Order.php(23): end() #1 /home/trufflefarm/public_html/wp-content/plugins/event-tickets/src/Tickets/Commerce/Admin_Tables/Orders.php(392): TEC\Tickets\Commerce\Gateways\Stripe\Order->get_gateway_dashboard_url_by_order() #2 /home/trufflefarm/public_html/wp-admin/includes/class-wp-list-table.php(1527): TEC\Tickets\Commerce\Admin_Tables\Orders->column_gateway_order_id() #3 /home/trufflefarm/public_html/wp-content/plugins/event-tickets/src/Tickets/Commerce/Admin_Tables/Orders.php(138): WP_List_Table->single_row_columns() #4 /home/trufflefarm/public_html/wp-admin/includes/class-wp-list-table.php(1459): TEC\Tickets\Commerce\Admin_Tables\Orders->single_row() #5 /home/trufflefarm/public_html/wp-admin/includes/class-wp-list-table.php(1444): WP_List_Table->display_rows() #6 /home/trufflefarm/public_html/wp-admin/includes/class-wp-list-table.php(1371): WP_List_Table->display_rows_or_placeholder() #7 /home/trufflefarm/public_html/wp-content/plugins/event-tickets/src/admin-views/commerce/reports/orders.php(37): WP_List_Table->display() #8 /home/trufflefarm/public_html/wp-content/plugins/event-tickets/common/src/Tribe/Template.php(1059): include(‘/home/trufflefa…’) #9 /home/trufflefarm/public_html/wp-content/plugins/event-tickets/common/src/Tribe/Template.php(910): Tribe__Template->template_safe_include() #10 /home/trufflefarm/public_html/wp-content/plugins/event-tickets/src/Tickets/Commerce/Reports/Orders.php(342): Tribe__Template->template() #11 /home/trufflefarm/public_html/wp-includes/class-wp-hook.php(308): TEC\Tickets\Commerce\Reports\Orders->render_page() #12 /home/trufflefarm/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #13 /home/trufflefarm/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #14 /home/trufflefarm/public_html/wp-admin/admin.php(259): do_action() #15 /home/trufflefarm/public_html/wp-admin/edit.php(10): require_once(‘/home/trufflefa…’) #16 {main} thrown in /home/trufflefarm/public_html/wp-content/plugins/event-tickets/src/Tickets/Commerce/Gateways/Stripe/Order.php on line 23

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support sdokus

    (@sdokus)

    Hi @increaseweb604 – it seems like our chat got disconnected before I could get your email! If you have an active license and for us to help you better, please open a Support Ticket on our Help Desk and for us to follow WordPress Forum Guidelines regarding premium users.

    If you do not have an active license then please let us know here and someone will assist you here.

    Thread Starter increaseweb604

    (@increaseweb604)

    My client wants to get the plus version of the tickets plus add-on, but I am hesitant as I am paid to manage these things and it’s costing me way too much time compared to what I’m being paid to fix constant issues with this.

    This is the third in depth issue I’ve had to deal with so far, and it’s getting in the way of other projects.

    At this time, I do not have a license but will if I can get these issues sorted and this plugin just running at a stable and reliable state.

    Cheska

    (@cheskatec)

    Hi @increaseweb604,

    The error message you provided suggests that the problem is with the Stripe payment gateway.

    However, it’s also possible that the issue is related to the PHP version you’re using. PHP 7.2 is no longer supported, so I recommend that you try upgrading to PHP 7.4 or 8.0.

    If you’re still having trouble after upgrading to PHP 7.4 or 8.0, please try the following:

    – Disable and then re-enable the Stripe payment gateway plugin.
    – Check your Stripe account to make sure that your API keys are correct.
    – Try using a different payment gateway, such as PayPal.
    – Delete any attendee orders that were created during the time when you were testing the issue.
    – Create a new event and try placing an order.

    If you’re able to place an order without any errors, then the problem is likely related to the attendee orders that were created during the time when you were testing the issue.

    Regarding the Event Tickets Plus plugin:

    I understand your hesitation about purchasing the Plus version of the plugin, given the issues you’ve had with the free version.

    However, the Plus version does include a number of features that may be beneficial to you, such as support for multiple payment gateways, email customization, and advanced reporting.

    Plugin Support Darian

    (@d0153)

    Hi there,

    I hope you’re doing well. I just wanted to touch base and check in with you. It’s been a little while since we’ve heard from you. I was just curious if you had the chance to try out the recommendation provided above.

    Let me know if there’s anything I can assist you with.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that there hasn’t been any recent activity on this thread, so we’ll consider it resolved. However, if you have any additional questions or concerns, feel free to start a new thread.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical Error When Viewing Orders – Stripe Error’ is closed to new replies.