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

2.0.1 - Error ... theme could not be found #132

Closed
5ym opened this issue Sep 14, 2018 · 3 comments
Closed

2.0.1 - Error ... theme could not be found #132

5ym opened this issue Sep 14, 2018 · 3 comments

Comments

@5ym
Copy link

5ym commented Sep 14, 2018

@dbrosy commented on Wed Sep 12 2018

I have upgraded to 2.0.1 and have an issue with activation of a theme.

running the following command on various versions:

wp theme install --activate

1.2.1 Success
2.0.0 Success
2.0.1 Failure

If I remove the --activate than theme installs
After install I run
wp theme activate Divi and get the following error:

Error: The 'Divi' theme could not be found

This only happens with 2.0.1


@jdelvecchio commented on Wed Sep 12 2018

Hi, same error here. Theme cannot be found on activate


@16dyui commented on Fri Sep 14 2018

Hi, Theme's name is Internally it is treated in lowercase letters.

wp theme install Divin --activate  #can't activate
wp theme install divin --activate  #success

Supplement

wp theme install Divin
wp theme list
+-----------------+----------+--------+---------+
| name            | status   | update | version |
+-----------------+----------+--------+---------+
| divin           | inactive | none   | 1.1.2   |
+-----------------+----------+--------+---------+

@16dyui commented on Fri Sep 14 2018

I found Specification change.
#126

@schlessera
Copy link
Member

@freefri
Copy link

freefri commented Nov 15, 2018

This is a critical bug because is not allowing us to update themes with capital letters in their names, trying to run the command with a lower case is not working neither for us. The but is already fixed, but the phar of wp-cli was not updated in 3 months...
Do we expect any release soon?
We don't feel comfortable using the nightly release in production.

@schlessera
Copy link
Member

@freefri The next release is scheduled for December 18th: https://make.wordpress.org/cli/2018/10/31/wp-cli-v2-1-0-release-postponed/

In the mean time, you can also roll back to the v2.0.0 release, provided that you don't need the i18n make-pot command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants