Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/wp-content/plugins/woocommerce-box-office/includes/class-wc-box-office-ticket-shortcode.php:122
Stack trace:
#0 /var/www/wp-includes/shortcodes.php(434): WC_Box_Office_Ticket_Shortcode->user_ticket_list(Array, '', 'user_tickets')
#1 [internal function]: do_shortcode_tag(Array)
#2 /var/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(user_t...', 'do_shortcode_ta...', '[user_tickets]')
#3 /var/www/wp-includes/class-wp-hook.php(324): do_shortcode('[user_tickets]')
#4 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('[user_tickets]', Array)
#5 /var/www/wp-includes/post-template.php(256): apply_filters('the_content', '<!-- wp:shortco...')
#6 /var/www/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(658): the_content()
#7 /var/www/wp-content/themes/Divi/includes/builder/module/type/PostContent.php(504): et_theme_builder_frontend_render_post_content()
#8 /var/www/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Module_Type_PostContent->render(Array, '', 'et_pb_post_cont...', '', '', '', '', '')
#9 /var/www/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '', 'et_pb_post_cont...')
#10 [internal function]: do_shortcode_tag(Array)
#11 /var/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_post_con...')
#12 /var/www/wp-content/themes/Divi/includes/builder/main-structure-elements.php(3784): do_shortcode('[et_pb_post_con...')
#13 /var/www/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Column->render(Array, '[et_pb_post_con...', 'et_pb_column', '', '', '', '', '')
#14 /var/www/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_post_con...', 'et_pb_column')
#15 [internal function]: do_shortcode_tag(Array)
#16 /var/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_column t...')
#17 /var/www/wp-content/themes/Divi/includes/builder/main-structure-elements.php(2274): do_shortcode('[et_pb_column t...')
#18 /var/www/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Row->render(Array, '[et_pb_column t...', 'et_pb_row', '', '', '', '', '')
#19 /var/www/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_column t...', 'et_pb_row')
#20 [internal function]: do_shortcode_tag(Array)
#21 /var/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '[et_pb_row _bui...')
#22 /var/www/wp-content/themes/Divi/includes/builder/main-structure-elements.php(1606): do_shortcode('[et_pb_row _bui...')
#23 /var/www/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3441): ET_Builder_Section->render(Array, '[et_pb_row _bui...', 'et_pb_section', '', '', '', '', '')
#24 /var/www/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_row _bui...', 'et_pb_section')
#25 [internal function]: do_shortcode_tag(Array)
#26 /var/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(et_pb_...', 'do_shortcode_ta...', '<div class="et-...')
#27 /var/www/wp-includes/class-wp-hook.php(324): do_shortcode('<div class="et-...')
#28 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('<div class="et-...', Array)
#29 /var/www/wp-content/themes/Divi/includes/builder/core.php(46): apply_filters('et_builder_rend...', '[et_pb_section ...')
#30 /var/www/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(347): et_builder_render_layout('[et_pb_section ...')
#31 /var/www/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(506): et_theme_builder_frontend_render_layout('et_body_layout', 18808)
#32 /var/www/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-body-template.php(10): et_theme_builder_frontend_render_body(18808, true, 10909)
#33 /var/www/wp-includes/template-loader.php(106): include('/var/www/wp-con...')
#34 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc...')
#35 /var/www/index.php(17): require('/var/www/wp-blo...')
#36 {main}
thrown in /var/www/wp-content/plugins/woocommerce-box-office/includes/class-wc-box-office-ticket-shortcode.php on line 122