demental / wp-deploy-flow

A wp-cli command to deploy your wordpress instance.
82 stars 15 forks source link

ENVIRONMENT_LOCKED constant not found #9

Open renich opened 11 years ago

renich commented 11 years ago

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

wfendler commented 10 years ago

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