Critical Error When Viewing Orders – Stripe Error
-
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
- The topic ‘Critical Error When Viewing Orders – Stripe Error’ is closed to new replies.