GithubHelp home page GithubHelp logo

Comments (5)

castilma avatar castilma commented on June 19, 2024 1

Found the problem. I work with someone else on this wp installation and my partner added a wp-cli.yml file with the following content:
path: WP_CLI_CONFIG_PATH

He was trying something out, but forgot to remove it afterwards.

from wordmove.

castilma avatar castilma commented on June 19, 2024

I'm a newbie. If I had to guess, it looks to me like wp search-replace is called with a wrong --path argument. The value should maybe not be literally "WP_CLI_CONFIG_PATH", but the actual path on the local machine?

from wordmove.

alessandro-fazzi avatar alessandro-fazzi commented on June 19, 2024

I don't know - as it stands - how WP_CLI_CONFIG_PATH could have been appeared there, but my guess is that the cause should be your local path:

wordpress_path: "/Users/me/Local Sites/***/app/public/"

since it contains spaces you should escape them

wordpress_path: "/Users/me/Local\ Sites/***/app/public/"

or, even better, rename your folder with a more geek-friendly name like LocalSites :)

from wordmove.

castilma avatar castilma commented on June 19, 2024

since it contains spaces you should escape them
wordpress_path: "/Users/me/Local\ Sites/***/app/public/"

I think wordmove is doing something wrong here:
I believe wordpress_path: "/Users/me/Local Sites/***/app/public/"
is valid .yml syntax.
So I passed the path /Users/me/Local Sites/***/app/public/ correctly to wordmove. It is now up to wordmove to correctly pass that path to other programs/components itself might use!

from wordmove.

alessandro-fazzi avatar alessandro-fazzi commented on June 19, 2024

From a theoretical point of view, I'm totally with you.

Always hoped various things:

  • to have received a PR implementing this - and many other - thing
  • Flywheel's dev team never thinked to use a space in their software's path 😅
  • have the spare time to implement all the features and to correct all the bugs by myself

I've updated wiki's doc warning about this misbehaviour. I'm sure this is better than nothing 👍

Thanks for your comprehension.

from wordmove.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.