Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lando wp cli search-replace fails #3

Open
matbrady opened this issue Feb 1, 2022 · 1 comment
Open

lando wp cli search-replace fails #3

matbrady opened this issue Feb 1, 2022 · 1 comment
Labels
Need More Info Need More Info

Comments

@matbrady
Copy link

matbrady commented Feb 1, 2022

While attempting to lando pull, the tasks fails during the wp cli search-replace process stating WP_HOME is undefined though it exists in the .env file. It appears running any wp cli command will fail.

PHP Fatal error:  Uncaught Error: Undefined constant "WP_HOME" in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1277) : eval()'d code:175

Lando Version: 3.6.1

@rtfm-47 rtfm-47 transferred this issue from lando/lando Feb 1, 2022
@labboy0276
Copy link
Contributor

@matbrady can you please provide more info, which OS are you on and can you paste your .lando.yml please.

@labboy0276 labboy0276 added Need More Info Need More Info and removed Needs Triage labels Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need More Info Need More Info
Projects
None yet
Development

No branches or pull requests

3 participants