Closed azurichdev closed 1 year ago
Event Organiser Pro v3.3.9 Server PHP: 8.0
Steps to reproduce:
Fatal error: Uncaught TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, EO_Event_Ticket_Type given in /customers/8/1/e/domain/httpd.www/wp-content/plugins/event-organiser-pro/includes/tickets.php:308 Stack trace: #0 /customers/8/1/e/domain/httpd.www/wp-content/plugins/event-organiser-pro/includes/tickets.php(308): array_intersect_key(Object(EO_Event_Ticket_Type), Array) #1 /customers/8/1/e/domain/httpd.www/wp-content/plugins/event_organiser_automatic_tickets/automatic_ticket_api.php(37): eventorganiser_update_ticket(156893, Object(EO_Event_Ticket_Type)) #2 /customers/8/1/e/domain/httpd.www/wp-includes/class-wp-hook.php(308): my_update_default_tickets(26211) #3 /customers/8/1/e/domain/httpd.www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #4 /customers/8/1/e/domain/httpd.www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /customers/8/1/e/domain/httpd.www/wp-content/plugins/event-organiser/includes/event.php(121): do_action('eventorganiser_...', 26211) #6 /customers/8/1/e/domain/httpd.www/wp-content/plugins/event-organiser/event-organiser-edit.php(492): eo_update_event(26211, Array) #7 /customers/8/1/e/domain/httpd.www/wp-includes/class-wp-hook.php(310): eventorganiser_details_save(26211) #8 /customers/8/1/e/domain/httpd.www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(26211, Array) #9 /customers/8/1/e/domain/httpd.www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /customers/8/1/e/domain/httpd.www/wp-includes/post.php(4717): do_action('save_post', 26211, Object(WP_Post), true) #11 /customers/8/1/e/domain/httpd.www/wp-includes/post.php(4819): wp_insert_post(Array, false, true) #12 /customers/8/1/e/domain/httpd.www/wp-admin/includes/post.php(426): wp_update_post(Array) #13 /customers/8/1/e/domain/httpd.www/wp-admin/post.php(227): edit_post() #14 {main} thrown in /customers/8/1/e/domain/httpd.www/wp-content/plugins/event-organiser-pro/includes/tickets.php on line 308
Event Organiser Pro v3.3.9 Server PHP: 8.0
Steps to reproduce:
Fatal error: Uncaught TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, EO_Event_Ticket_Type given in /customers/8/1/e/domain/httpd.www/wp-content/plugins/event-organiser-pro/includes/tickets.php:308 Stack trace: #0 /customers/8/1/e/domain/httpd.www/wp-content/plugins/event-organiser-pro/includes/tickets.php(308): array_intersect_key(Object(EO_Event_Ticket_Type), Array) #1 /customers/8/1/e/domain/httpd.www/wp-content/plugins/event_organiser_automatic_tickets/automatic_ticket_api.php(37): eventorganiser_update_ticket(156893, Object(EO_Event_Ticket_Type)) #2 /customers/8/1/e/domain/httpd.www/wp-includes/class-wp-hook.php(308): my_update_default_tickets(26211) #3 /customers/8/1/e/domain/httpd.www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #4 /customers/8/1/e/domain/httpd.www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /customers/8/1/e/domain/httpd.www/wp-content/plugins/event-organiser/includes/event.php(121): do_action('eventorganiser_...', 26211) #6 /customers/8/1/e/domain/httpd.www/wp-content/plugins/event-organiser/event-organiser-edit.php(492): eo_update_event(26211, Array) #7 /customers/8/1/e/domain/httpd.www/wp-includes/class-wp-hook.php(310): eventorganiser_details_save(26211) #8 /customers/8/1/e/domain/httpd.www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(26211, Array) #9 /customers/8/1/e/domain/httpd.www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /customers/8/1/e/domain/httpd.www/wp-includes/post.php(4717): do_action('save_post', 26211, Object(WP_Post), true) #11 /customers/8/1/e/domain/httpd.www/wp-includes/post.php(4819): wp_insert_post(Array, false, true) #12 /customers/8/1/e/domain/httpd.www/wp-admin/includes/post.php(426): wp_update_post(Array) #13 /customers/8/1/e/domain/httpd.www/wp-admin/post.php(227): edit_post() #14 {main} thrown in /customers/8/1/e/domain/httpd.www/wp-content/plugins/event-organiser-pro/includes/tickets.php on line 308