• Resolved masterbip

    (@masterbip)


    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 1627
    • This topic was modified 6 months, 2 weeks ago by masterbip. Reason: Better log and ortography

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WP Swings

    (@wpswings)

    Hello,

    Please check the Event tab under the Woocommerce tab and if the on the listing side, if the event was occurring then it will send the mail , if not then ticket sending will not going to occur.
    if still the issue occur you can contact to your support

    Regards,

    Thread Starter masterbip

    (@masterbip)

    Hello. Many thanks for your answer. But I dont clearly understand it.

    I see this: https://paste.pics/RUH3Q

    It says “pending” but the order is”completed” in both cases.

    It is very weird.
    All is fine and works perfect in development (suelos.masterbip.com). Not even error_log.

    But in production (suelossantacruz2025.com) It is not sending emails and see “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”

    • This reply was modified 6 months, 2 weeks ago by masterbip.
    • This reply was modified 6 months, 2 weeks ago by masterbip.
    Thread Starter masterbip

    (@masterbip)

    Finally: Latest version in all my tests didn’t work.

    I had to rollback to previous version and change some php configurations.

    • This reply was modified 6 months, 2 weeks ago by masterbip.
    • This reply was modified 6 months, 2 weeks ago by masterbip.
    Plugin Author WP Swings

    (@wpswings)

    Hello @masterbip ,

    Please mail us here for raising a ticket for your concern our team will help you.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin not sending ticket’ is closed to new replies.