V3 Database Migration Fails
-
I have tried database migration via wordpress backend and wp-cli. Both methods fail – now EDD is broken. Here is error message:
Migrating Payments 0 % [> ] 0:00 / 0:00Fatal error: Uncaught Error: The script tried to modify a property on an incomplete object. Please ensure that the class definition "Wpil_Model_Link" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /home/adambox/public_html/wp-includes/formatting.php:5010 Stack trace: #0 /home/adambox/public_html/wp-includes/formatting.php(5005): map_deep(Object(__PHP_Incomplete_Class), 'stripslashes_fr...') #1 /home/adambox/public_html/wp-includes/formatting.php(2799): map_deep(Array, 'stripslashes_fr...') #2 /home/adambox/public_html/wp-includes/formatting.php(5634): stripslashes_deep(Array) #3 /home/adambox/public_html/wp-includes/meta.php(53): wp_unslash(Array) #4 /home/adambox/public_html/wp-content/plugins/easy-digital-downloads/includes/orders/functions/meta.php(30): add_metadata('edd_order', 236650, 'wpil_links_inbo...', Array, false) #5 /home/adambox/public_html/wp-content/plugins/easy-digital-downloads/includes/admin/upgrades/v3/class-data-migrator.php(1295): edd_add_order_meta(236650, 'wpil_links_inbo...', Array) #6 /home/adambox/public_html/wp-content/plugins/easy-digital-downloads/includes/class-edd-cli.php(1339): EDD\Admin\Upgrades\v3\Data_Migrator::orders(Object(stdClass)) #7 /home/adambox/public_html/wp-content/plugins/easy-digital-downloads/includes/class-edd-cli.php(833): EDD_CLI->migrate_payments(Array, Array) #8 [internal function]: EDD_CLI->v30_migration(Array, Array) #9 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array) #10 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array) #11 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array) #12 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(417): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array) #13 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(440): WP_CLI\Runner->run_command(Array, Array) #14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): WP_CLI\Runner->run_command_and_exit() #15 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() #16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState)) #17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap() #18 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('phar:///usr/loc...') #19 /usr/local/bin/wp(4): include('phar:///usr/loc...') #20 {main} thrown in /home/adambox/public_html/wp-includes/formatting.php on line 5010 Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.
Wordpress version 6.0.1
PHP version 8.1
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘V3 Database Migration Fails’ is closed to new replies.