Fatal error: Uncaught TypeError: Argument 1 passed to TicketSystem::orderPassCheck() must be an instance of WC_Order, bool given, called in /wp-content/plugins/ticket-system/page/inv_download.php on line 11 and defined in /wp-content/plugins/ticket-system/includes/class/TicketSystem.php:1216
Stack trace:
#0 /wp-content/plugins/ticket-system/page/inv_download.php(11): TicketSystem->orderPassCheck(false, NULL, '../')
#1 /wp-includes/template-loader.php(106): include('/wp-content/plu...')
#2 /wp-blog-header.php(19): require_once('/wp-includes/te...')
#3 /index.php(17): require('/wp-blog-header...')
#4 {main}
thrown in /wp-content/plugins/ticket-system/includes/class/TicketSystem.php on line 1216