Plugin not sending ticket
-
After migrating plugin is not sending ticket.
Maybe because of payment method? In development we used bank transfer and worked.
In production we changed to payment by “check” and started the failure.
Clean Error log next:
[03-Sep-2024 18:47:27 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_cart() on null in /home/suelossa/public_html/wp-content/plugins/event-tickets-manager-for-woocommerce/public/class-event-tickets-manager-for-woocommerce-public.php:1627
Stack trace:
#0 /home/suelossa/public_html/wp-includes/class-wp-hook.php(324): Event_Tickets_Manager_For_Woocommerce_Public->restrict_cod_for_specific_product_types()
#1 /home/suelossa/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /home/suelossa/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(333): apply_filters()
#3 /home/suelossa/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Payments.php(90): WC_Payment_Gateways->get_available_payment_gateways()
#4 /home/suelossa/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Payments.php(67): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\Payments::has_gateways()
#5 /home/suelossa/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php(106): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\Payments->is_complete()
#6 /home/suelossa/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(305): Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\WooCommercePayments->can_view()
#7 [internal function]: Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->Automattic\WooCommerce\Admin\Features\OnboardingTasks\{closure}()
#8 /home/suelossa/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(302): array_filter()
#9 /home/suelossa/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(240): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->get_viewable_tasks()
#10 /home/suelossa/public_html/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php(434): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->is_complete()
#11 /home/suelossa/public_html/wp-content/plugins/woocommerce/src/Admin/API/OnboardingTasks.php(745): Automattic\WooCommerce\Admin\Features\OnboardingTasks\TaskList->get_json()
#12 [internal function]: Automattic\WooCommerce\Admin\API\OnboardingTasks->Automattic\WooCommerce\Admin\API\{closure}()
#13 /home/suelossa/public_html/wp-content/plugins/woocommerce/src/Admin/API/OnboardingTasks.php(743): array_map()
#14 /home/suelossa/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): Automattic\WooCommerce\Admin\API\OnboardingTasks->get_tasks()
#15 /home/suelossa/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#16 /home/suelossa/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#17 /home/suelossa/public_html/wp-includes/rest-api.php(420): WP_REST_Server->serve_request()
#18 /home/suelossa/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded()
#19 /home/suelossa/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#20 /home/suelossa/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
#21 /home/suelossa/public_html/wp-includes/class-wp.php(418): do_action_ref_array()
#22 /home/suelossa/public_html/wp-includes/class-wp.php(813): WP->parse_request()
#23 /home/suelossa/public_html/wp-includes/functions.php(1336): WP->main()
#24 /home/suelossa/public_html/wp-blog-header.php(16): wp()
#25 /home/suelossa/public_html/index.php(17): require('/home/suelossa/...')
#26 {main}
thrown in /home/suelossa/public_html/wp-content/plugins/event-tickets-manager-for-woocommerce/public/class-event-tickets-manager-for-woocommerce-public.php on line 1627The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Plugin not sending ticket’ is closed to new replies.