archive command quits abruptly
Trying to create an archive exits without creating a file. Anyone seen anything similar happening?
Here's the output I get:
[site] $ wp shifter archive create test.zip --debug
Debug (bootstrap): Required file from config: /Users/usr/.wp-cli/commands/wp-cli-shifter/cli.php (0.035s)
Debug (bootstrap): Using default global config: /Users/usr/.wp-cli/config.yml (0.113s)
Debug (bootstrap): No project config found (0.113s)
Debug (bootstrap): ABSPATH defined: /Applications/MAMP/htdocs/site/ (0.114s)
Debug (bootstrap): Begin WordPress load (0.115s)
Debug (bootstrap): wp-config.php path: /Applications/MAMP/htdocs/site/wp-config.php (0.115s)
Debug (bootstrap): Loaded WordPress (1.558s)
Debug (bootstrap): Running command: shifter archive create (1.56s)
Archiving an archive: 40 % [=======================> ] 0:08 / 0:22
[site] $
I've got Xdebug set up locally, as well as Visual Studio Code's PHP Debug extension, but failing to get it to work to debug my WP CLI commands. Any pointers would be great!
Hey, @montrealist. I had this exact problem recently. After a flurry of troubleshooting my local env it went away.
Let me give this another go on my end to see what I can recommend.
@montrealist Were you able to resolve this? I've experience this issue myself but can't replicate it now.
Hi, nope - just updated to latest WP CLI and observing the same behaviour. Not sure how to approach this as I wasn't yet able to set up debugging for WP CLI commands.