wp-deploy-flow
wp-deploy-flow copied to clipboard
ENVIRONMENT_LOCKED constant not found
PHP Warning: constant(): Couldn't find constant ENVIRONMENT_LOCKED in /var/www/wordpress/hokorawa.net/test/public/wp-content/plugins/wp-deploy-flow-master/lib/command.php on line 73
Warning: constant(): Couldn't find constant ENVIRONMENT_LOCKED in /var/www/wordpress/hokorawa.net/test/public/wp-content/plugins/wp-deploy-flow-master/lib/command.php on line 73
wp migrate to /var/www/wordpress/hokorawa.net/test/public/ http://test.hokorawa.net dump.sql
Warning: The wp migrate to
command has an invalid synopsis part: output_folder
Warning: The wp migrate to
command has an invalid synopsis part: output_host
Warning: The wp migrate to
command has an invalid synopsis part: filename
Warning: Too many positional arguments: /var/www/wordpress/hokorawa.net/test/public/ http://test.hokorawa.net dump.sql
Having a similar problem. I have my "production" environment set up. I'm able to successfully push to it, but when I try to pull it down I get the following:
$ wp deploy pull production
Warning: constant(): Couldn't find constant ENVIRONMENT_LOCKED in [removed]/src/wp-content/plugins/wp-deploy-flow-master/lib/command.php on line 73
wp migrate to [removed]/src/ http://[mylocaldevurl] dump.sql
Error: 'migrate' is not a registered wp command. See 'wp help'.