Open thewizard1002 opened 6 years ago
Related #47 Looks like something changed in the internal API of WP-CLI.
Thanks for you report. I'll look into this soon.
Was this ever solved? I'm having the same problem.
@geneellis @thewizard1002 Can you try again? I have just merged #61. Make sure to update to the latest version.
Will try again on the next migration. Thanks!
I'm still seeing this on the latest commit.
Can you post the full error and details of what the migration you're trying to do?
This is my bad, my version of wp-cli
wasn't up to date. Sorry for posting in haste :)
@azito122 so did updating wp-cli
resolve your issue?
Indeed.
As at Feb 2020 this is STILL happening for me in 2.4. In Laragon and in Local See terminal dialogue below
C:\laragon\www\Starter ? wp --version WP-CLI 2.4.0
C:\laragon\www\Starter ? wp mu-migration export all starter Exporting site meta data... Exporting users... Exporting tables Error: Unable to get the list of tables to be exported
Any remedies>
When issuing this command (wp mu-migration export all site.zip --plugins --themes --uploads) on any site I have tried, I get the following Exporting site meta data... Exporting users... Exporting tables Error: Unable to get the list of tables to be exported
A CSV file and JSON file are created and have a lot of data. wp db export does export the whole database with no problem wp db tables lists all of the WP tables
replacing $tables = \WP_CLI::launch_self( with $tables = \WP_CLI::runcommand( on line 104 of class-mu-migration-export.php lets it continue if you manually specify the tables but then I get "Something went wrong while trying to export the database" but an .sql file is created with all of the tables and data.
I tried using $export = \WP_CLI::runcommand('db export', array('return' => true)); that I found in another post with that error message but I still get the same error.
IIS/My SQL 5.6/PHP 7.1.11