WP-CLI error: Pass --path=`path/to/wordpress`

I have changed my folder structure around by added a few lines to point to the new content folder, moved the wordpress installation into a new folder and moved the wp-config one level above the installation. I’m now getting the following error in terminal for every wp command.

Error: This does not seem to be a WordPress install.
Pass --path=path/to/wordpress or run wp core download.

The site is working as it should after making the changes. How can I fix this error?

Hi @bhavikfp,

You’ll need to adjust the path in /wp-cli.yml in the site container.

To edit it, right-click on the site in the sidebar then go to “Open Site SSH”. Then, enter nano /wp-cli.yml to edit the file.