Unable to create order from admin page
-
PHP Fatal error: Uncaught Error: Call to undefined method Tribe__Container::can_be_updated_to() in /wp-content/plugins/event-tickets/src/Tickets/Commerce/Status/Status_Handler.php:121
Stack trace:
#0 /wp-content/plugins/event-tickets/src/admin-views/commerce/orders/single/order-actions-metabox.php(15): TEC\Tickets\Commerce\Status\Status_Handler->get_orders_possible_status(Object(WP_Post))
#1 /wp-content/plugins/event-tickets/common/src/Tribe/Template.php(1062): include('...')
#2 /wp-content/plugins/event-tickets/common/src/Tribe/Template.php(912): Tribe__Template->template_safe_include(NULL)
#3 /wp-content/plugins/event-tickets/src/Tickets/Commerce/Admin/Singular_Order_Page.php(181): Tribe__Template->template(Array, Array, true)
#4 /wp-content/plugins/event-tickets/src/Tickets/Commerce/Admin/Singular_Order_Page.php(248): TEC\Tickets\Commerce\Admin\Singular_Order_Page->template('order-actions-m...', Array)
#5 /wp-admin/includes/template.php(1456): TEC\Tickets\Commerce\Admin\Singular_Order_Page->render_actions(Object(WP_Post), Array)
#6 /wp-admin/edit-form-advanced.php(715): do_meta_boxes(Object(WP_Screen), 'side', Object(WP_Post))
#7 /wp-admin/post-new.php(75): require('...')
#8 {main}
thrown in /wp-content/plugins/event-tickets/src/Tickets/Commerce/Status/Status_Handler.php on line 121For a website I’m managing, the plugin is triggering a fatal error when attempting to create an order in the wp admin panel at the page
wp-admin/post-new.php?post_type=tec_tc_order
This doesn’t appear to affect the ability for users on the front-end to create orders. I have redacted some server paths from the log above.- Plugin version: 5.18.0.1
- WordPress Version: 6.7.1
- PHP Version: 7.4.33 – also tested on 8.1.31
I have rollled the plugin back as far as version 5.13.3 and can confirm this error begins appearing when using version 5.13.3.1.
Edit: remvoed link and added the admin slug to the first paragraph.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.