• 1. Is this a bug in wp-env or what?

    I can install my plugins one by one no problem …

    sudo wp-env run cli wp plugin activate wordfence

    but when I try to install them all at once, I get …

    dara@laptop-20-04:~/git_repos/haha_git$ sudo wp-env run cli wp plugin activate --all
    ? Error while running docker-compose command.
    Starting b2f15ad89490c7f9c6ca60886237ef_mysql_1 ... done
    Starting b2f15ad89490c7f9c6c780886237ef_wordpress_1 ... done
    Error: Please specify one or more plugins, or use --all.
    
    dara@laptop-20-04:~/git_repos/haha_git$ wp-env --version
    1.4.0
    

    2. Also, what’s the best way to change permissions on wp-env or my WordPress git repo on local that won’t break when I push to git host?

    3. Also, in terms of pushing to git host. I guess I should probably add my wp-config file to .gitignore yes?

    • This topic was modified 3 years, 4 months ago by Jan Dembowski.
Viewing 1 replies (of 1 total)
  • Thread Starter Dbee

    (@dbee78)

    the docker container can’t seem to connect to the database. I’ve tested my connection strings from the cli and they are fine.

    I’ve also set user host to ‘%’ in MySQL.

    I can see my website fine. and I can see my theme. but I can’t see any nav bar links or any blogs.

    Plus only my homepage shows. I can’t navigate to localhost:8888/contact-us/ or any other page… :0=-(

Viewing 1 replies (of 1 total)
  • The topic ‘sudo wp-env run cli wp plugin activate –all’ is closed to new replies.