• Resolved stefan.kruger

    (@stefankruger)


    Hi,

    I’m running into an issue with Event Tickets Plus.

    Whenever i want to delete a ticket an error occurs.

    Here’s the debug log info :

    `[14-Feb-2020 13:07:20 UTC] PHP Fatal error: Uncaught TypeError: Argument 3 passed to Tribe__Tickets_Plus__Commerce__WooCommerce__Global_Stock::maybe_increase_global_stock() must be an instance of Tribe__Tickets__Ticket_Object, null given, called in \wp-content\plugins\event-tickets-plus\src\Tribe\Commerce\WooCommerce\Global_Stock.php on line 330 and defined in \wp-content\plugins\event-tickets-plus\src\Tribe\Commerce\WooCommerce\Global_Stock.php:345
    Stack trace:
    #0 \wp-content\plugins\event-tickets-plus\src\Tribe\Commerce\WooCommerce\Global_Stock.php(330): Tribe__Tickets_Plus__Commerce__WooCommerce__Global_Stock->maybe_increase_global_stock(656, 0, NULL)
    #1 \wp-includes\class-wp-hook.php(288): Tribe__Tickets_Plus__Commerce__WooCommerce__Global_Stock->increase_global_stock_on_delete(660, 656, 0)
    #2 \wp-includes\class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #3 \wp-includes\plugin.php(478): WP_Hook-> in \wp-content\plugins\event-tickets-plus\src\Tribe\Commerce\WooCommerce\Global_Stock.php on line 345

    `

    Regards,

    Stefan.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error – Can’t delete tickets’ is closed to new replies.