wp-deploy-flow icon indicating copy to clipboard operation
wp-deploy-flow copied to clipboard

ENVIRONMENT_LOCKED constant not found

Open renich opened this issue 11 years ago • 1 comments

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

renich avatar Oct 09 '13 05:10 renich

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'.

wfendler avatar Mar 01 '14 23:03 wfendler