Fatal error on migration to new data system (6.0)
-
Hi
Thanks for the events calendar 6.0. When running the event scheduler for migrating the events to the new format, I get a fatal error. Here a few lines of the output:
Completed processing action 7588 with hook: tec_events_custom_tables_v1_migration_process Running 51 actions 13 % [=====> ] 0:02 / 10:14Started processing action 7589 Fatal error: Uncaught Error: Undefined constant "TEC\Events\Custom_Tables\V1\Migration\EVENTS_CALENDAR_PRO_FILE" in /var/www/html/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/Migration/Process_Worker.php:591 Stack trace: #0 [internal function]: TEC\Events\Custom_Tables\V1\Migration\Process_Worker->error_handler(2, 'opendir(/var/www...', '/var/www/...', 3236) #1 /var/www/html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(3236): opendir('/var/www/...') #2 /var/www/html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(3114): wp_cache_post_change(5068) #3 /var/www/html/wp-includes/class-wp-hook.php(309): wp_cache_post_edit(5068) #4 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #5 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #6 /var/www/html/wp-includes/post.php(7408): do_action('clean_post_cach...', 5068, Object(WP_Post)) #7 /var/www/html/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/Migration/Process_Worker.php(167): clean_post_cache(Object(WP_Post)) #8 /var/www/html/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/Migration/Process_Worker.php(346): TEC\Events\Custom_Tables\V1\Migration\Process_Worker->after_dry_run('5068') #9 /var/www/html/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/Migration/Provider.php(113): TEC\Events\Custom_Tables\V1\Migration\Process_Worker->migrate_event('5068', true) #10 /var/www/html/wp-includes/class-wp-hook.php(307): TEC\Events\Custom_Tables\V1\Migration\Provider->migrate_event('5068', true) #11 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #12 /var/www/html/wp-includes/plugin.php(524): WP_Hook->do_action(Array) #13 /var/www/html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array('tec_events_cust...', Array) #14 /var/www/html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute() #15 /var/www/html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php(117): ActionScheduler_Abstract_QueueRunner->process_action(7589, 'WP CLI') #16 /var/www/html/wp-content/plugins/the-events-calendar/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php(105): ActionScheduler_WPCLI_QueueRunner->run() #17 [internal function]: ActionScheduler_WPCLI_Scheduler_command->run(Array, Array) #18 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array) #19 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array) #20 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array) #21 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(417): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array) #22 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(440): WP_CLI\Runner->run_command(Array, Array) #23 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): WP_CLI\Runner->run_command_and_exit() #24 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() #25 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState)) #26 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap() #27 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('phar:///usr/loc...') #28 /usr/local/bin/wp(4): include('phar:///usr/loc...') #29 {main} thrown in /var/www/html/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/Migration/Process_Worker.php on line 591
The post’s data:
INSERT INTO wp_posts (ID, post_author, post_date, post_date_gmt, post_content, post_title, post_excerpt, post_status, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_content_filtered, post_parent, guid, menu_order, post_type, post_mime_type, comment_count) VALUES (5068, 1, '2018-01-18 18:34:13', '2018-01-18 17:34:13', 'Der abtretende Regierungsrat XXX blick zurück auf seine Jahre in der Exekutive.\n\n?ffentliche Veranstaltung', 'Treffen mit XXX', '', 'publish', 'open', 'closed', '', 'treffen-mit-xxx', '', '', '2018-01-18 18:34:13', '2018-01-18 17:34:13', '', 0, 'https://example.com/?post_type=tribe_events&p=5068', 0, 'tribe_events', '', 0); INSERT INTO wp_postmeta (meta_id, post_id, meta_key, meta_value) VALUES (28138, 5068, 'inline_featured_image', '0'), (28139, 5068, '_tribe_modified_fields', 'a:34:{s:21:\"inline_featured_image\";i:1582208366;s:12:\"_EventOrigin\";i:1582208366;s:16:\"tribe_events_cat\";i:1582204766;s:27:\"cybocfi_hide_featured_image\";i:1582208366;s:10:\"_edit_last\";i:1582208366;s:17:\"_EventShowMapLink\";i:1582208367;s:13:\"_EventShowMap\";i:1582208367;s:17:\"_EventOrganizerID\";i:1582208367;s:15:\"_EventStartDate\";i:1582208367;s:13:\"_EventEndDate\";i:1582208367;s:18:\"_EventStartDateUTC\";i:1582208367;s:16:\"_EventEndDateUTC\";i:1582208367;s:14:\"_EventDuration\";i:1582208367;s:20:\"_EventCurrencySymbol\";i:1582208367;s:22:\"_EventCurrencyPosition\";i:1582208367;s:10:\"_EventCost\";i:1582208367;s:9:\"_EventURL\";i:1582208367;s:14:\"_EventTimezone\";i:1582208367;s:18:\"_EventTimezoneAbbr\";i:1582208367;s:15:\"_preview_venues\";i:1582208367;s:19:\"_preview_organizers\";i:1582208367;s:13:\"_EventVenueID\";i:1582208367;s:62:\"_g_feedback_shortcode_4e0dc42d42bc76b14bc1dd7e7ceffd1fd7cb6390\";i:1582208367;s:67:\"_g_feedback_shortcode_atts_4e0dc42d42bc76b14bc1dd7e7ceffd1fd7cb6390\";i:1582208367;s:62:\"_g_feedback_shortcode_a89af9c21d8e6152cd24a12d5e364ebaf97d5e18\";i:1582208367;s:67:\"_g_feedback_shortcode_atts_a89af9c21d8e6152cd24a12d5e364ebaf97d5e18\";i:1582208367;s:62:\"_g_feedback_shortcode_41770704b25e8cfc435a1dad390bfb5dbc04fb05\";i:1582208367;s:67:\"_g_feedback_shortcode_atts_41770704b25e8cfc435a1dad390bfb5dbc04fb05\";i:1582208367;s:62:\"_g_feedback_shortcode_2501734fa60dbf4929abcd3f1e4156ec71742b46\";i:1582208367;s:67:\"_g_feedback_shortcode_atts_2501734fa60dbf4929abcd3f1e4156ec71742b46\";i:1582208367;s:32:\"_tec_ct1_current_migration_phase\";i:1663844099;s:27:\"_tec_ct1_migration_lock_uid\";i:1663844099;s:24:\"_tec_ct1_migrated_report\";i:1663844099;s:24:\"_tec_ct1_report_category\";i:1663844099;}'), (28140, 5068, '_EventOrigin', 'events-calendar'), (28141, 5068, 'cybocfi_hide_featured_image', ''), (28142, 5068, '_tribe_modified_fields', 'a:34:{s:21:\"inline_featured_image\";i:1582208366;s:12:\"_EventOrigin\";i:1582208366;s:16:\"tribe_events_cat\";i:1582204766;s:27:\"cybocfi_hide_featured_image\";i:1582208366;s:10:\"_edit_last\";i:1582208366;s:17:\"_EventShowMapLink\";i:1582208367;s:13:\"_EventShowMap\";i:1582208367;s:17:\"_EventOrganizerID\";i:1582208367;s:15:\"_EventStartDate\";i:1582208367;s:13:\"_EventEndDate\";i:1582208367;s:18:\"_EventStartDateUTC\";i:1582208367;s:16:\"_EventEndDateUTC\";i:1582208367;s:14:\"_EventDuration\";i:1582208367;s:20:\"_EventCurrencySymbol\";i:1582208367;s:22:\"_EventCurrencyPosition\";i:1582208367;s:10:\"_EventCost\";i:1582208367;s:9:\"_EventURL\";i:1582208367;s:14:\"_EventTimezone\";i:1582208367;s:18:\"_EventTimezoneAbbr\";i:1582208367;s:15:\"_preview_venues\";i:1582208367;s:19:\"_preview_organizers\";i:1582208367;s:13:\"_EventVenueID\";i:1582208367;s:62:\"_g_feedback_shortcode_4e0dc42d42bc76b14bc1dd7e7ceffd1fd7cb6390\";i:1582208367;s:67:\"_g_feedback_shortcode_atts_4e0dc42d42bc76b14bc1dd7e7ceffd1fd7cb6390\";i:1582208367;s:62:\"_g_feedback_shortcode_a89af9c21d8e6152cd24a12d5e364ebaf97d5e18\";i:1582208367;s:67:\"_g_feedback_shortcode_atts_a89af9c21d8e6152cd24a12d5e364ebaf97d5e18\";i:1582208367;s:62:\"_g_feedback_shortcode_41770704b25e8cfc435a1dad390bfb5dbc04fb05\";i:1582208367;s:67:\"_g_feedback_shortcode_atts_41770704b25e8cfc435a1dad390bfb5dbc04fb05\";i:1582208367;s:62:\"_g_feedback_shortcode_2501734fa60dbf4929abcd3f1e4156ec71742b46\";i:1582208367;s:67:\"_g_feedback_shortcode_atts_2501734fa60dbf4929abcd3f1e4156ec71742b46\";i:1582208367;s:32:\"_tec_ct1_current_migration_phase\";i:1663844099;s:27:\"_tec_ct1_migration_lock_uid\";i:1663844099;s:24:\"_tec_ct1_migrated_report\";i:1663844099;s:24:\"_tec_ct1_report_category\";i:1663844099;}'), (28143, 5068, '_EventOrigin', 'events-calendar'), (28144, 5068, '_edit_last', '1'), (28145, 5068, '_EventShowMapLink', '1'), (28146, 5068, '_EventShowMap', '1'), (28147, 5068, '_EventOrganizerID', '3740'), (28148, 5068, '_EventStartDate', '2018-01-25 19:30:00'), (28149, 5068, '_EventEndDate', '2018-01-25 19:30:00'), (28150, 5068, '_EventStartDateUTC', '2018-01-25 18:30:00'), (28151, 5068, '_EventEndDateUTC', '2018-01-18 16:34:15'), (28152, 5068, '_EventDuration', '0'), (28153, 5068, '_EventCurrencySymbol', '0'), (28154, 5068, '_EventCurrencyPosition', 'suffix'), (28155, 5068, '_EventCost', ''), (28156, 5068, '_EventURL', ''), (28157, 5068, '_EventTimezone', 'Europe/Zurich'), (28158, 5068, '_EventTimezoneAbbr', 'CET'), (28159, 5068, '_preview_venues', 'a:1:{i:0;s:4:\"5070\";}'), (28160, 5068, '_preview_organizers', 'a:0:{}'), (28161, 5068, '_EventVenueID', '5071'), (28162, 5068, '_g_feedback_shortcode_4e0dc42d42bc76b14bc1dd7e7ceffd1fd7cb6390', '[contact-field label=\"Name\" type=\"name\" required=\"1\"][contact-field label=\"Vorname\" type=\"text\" required=\"1\"][contact-field label=\"Handynummer\" type=\"text\" required=\"1\"][contact-field label=\"E-Mail\" type=\"email\" required=\"1\"][contact-field label=\"Kommentar\" type=\"textarea\" required=\"1\"]'), (28163, 5068, '_g_feedback_shortcode_atts_4e0dc42d42bc76b14bc1dd7e7ceffd1fd7cb6390', 'a:6:{s:2:\"to\";s:25:\"[email protected]\";s:7:\"subject\";s:40:\"Neumitgliedertreffen vom 7. Februar 2018\";s:12:\"show_subject\";s:2:\"no\";s:6:\"widget\";i:0;s:2:\"id\";i:5068;s:18:\"submit_button_text\";s:17:\"Abschicken »\";}'), (28164, 5068, '_g_feedback_shortcode_a89af9c21d8e6152cd24a12d5e364ebaf97d5e18', '[contact-field label=\"Name\" type=\"name\" required=\"1\"][contact-field label=\"Vorname\" type=\"text\" required=\"1\"][contact-field label=\"Handynummer\" type=\"text\" required=\"1\"][contact-field label=\"E-Mail\" type=\"email\" required=\"1\"][contact-field label=\"Kommentar\" type=\"textarea\" required=\"1\"]'), (28165, 5068, '_g_feedback_shortcode_atts_a89af9c21d8e6152cd24a12d5e364ebaf97d5e18', 'a:6:{s:2:\"to\";s:25:\"[email protected]\";s:7:\"subject\";s:43:\"Neumitgliedertreffen vom 12. September 2018\";s:12:\"show_subject\";s:2:\"no\";s:6:\"widget\";i:0;s:2:\"id\";i:5068;s:18:\"submit_button_text\";s:17:\"Abschicken »\";}'), (28166, 5068, '_g_feedback_shortcode_41770704b25e8cfc435a1dad390bfb5dbc04fb05', '[contact-field label=\"Name\" type=\"name\" required=\"1\"][contact-field label=\"Vorname\" type=\"text\" required=\"1\"][contact-field label=\"Handynummer\" type=\"text\" required=\"1\"][contact-field label=\"E-Mail\" type=\"email\" required=\"1\"][contact-field label=\"Kommentar\" type=\"textarea\" required=\"1\"]'), (28167, 5068, '_g_feedback_shortcode_atts_41770704b25e8cfc435a1dad390bfb5dbc04fb05', 'a:6:{s:2:\"to\";s:25:\"[email protected]\";s:7:\"subject\";s:42:\"Neumitgliedertreffen vom 20. November 2018\";s:12:\"show_subject\";s:2:\"no\";s:6:\"widget\";i:0;s:2:\"id\";i:5068;s:18:\"submit_button_text\";s:17:\"Abschicken »\";}'), (28168, 5068, '_g_feedback_shortcode_2501734fa60dbf4929abcd3f1e4156ec71742b46', '[contact-field label=\"Name\" type=\"name\" required=\"1\"][contact-field label=\"Vorname\" type=\"text\" required=\"1\"][contact-field label=\"Handynummer\" type=\"text\" required=\"1\"][contact-field label=\"E-Mail\" type=\"email\" required=\"1\"][contact-field label=\"Kommentar\" type=\"textarea\" required=\"1\"]'), (28169, 5068, '_g_feedback_shortcode_atts_2501734fa60dbf4929abcd3f1e4156ec71742b46', 'a:6:{s:2:\"to\";s:25:\"[email protected]\";s:7:\"subject\";s:39:\"Neumitgliedertreffen vom 12. M?rz 2019\";s:12:\"show_subject\";s:2:\"no\";s:6:\"widget\";i:0;s:2:\"id\";i:5068;s:18:\"submit_button_text\";s:17:\"Abschicken »\";}'), (33655, 5068, '_tec_ct1_current_migration_phase', 'MIGRATION_FAILURE'), (33656, 5068, '_tec_ct1_migrated_report', 'a:11:{s:15:\"start_timestamp\";d:1663836899.0538499355316162109375;s:13:\"end_timestamp\";d:1663836899.0617039203643798828125;s:11:\"has_tickets\";b:0;s:16:\"tickets_provider\";s:0:\"\";s:9:\"is_single\";b:1;s:14:\"created_events\";a:0:{}s:6:\"status\";s:7:\"failure\";s:5:\"error\";s:354:\"The event <a target="_blank" href="https://xxxxxxxxxx.example.com/wp-admin/post.php?post=5068&action=edit" rel="noopener">Treffen mit XXXXXXXX YYYYYY</a> generated an error: The \"die\" or \"exit\" function was called during the migration process; output: . Please try again or check out our <a target="_blank" href="https://evnt.is/migrationhelp" rel="noopener">Troubleshooting</a> tips.\";s:6:\"series\";a:0:{}s:18:\"strategies_applied\";a:1:{i:0;s:25:\"tec-single-event-strategy\";}s:17:\"source_event_post\";O:8:\"stdClass\":2:{s:2:\"ID\";i:5068;s:10:\"post_title\";s:27:\"Treffen mit XXXXXXXX YYYYYY\";}}'), (33657, 5068, '_tec_ct1_report_category', 'exit');
Environment:
– PHP 8.1.8
– WordPress 6.0.2
– The events calendar 6.0.0.1
– No PRO version of the events calendar installed
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal error on migration to new data system (6.0)’ is closed to new replies.