I tried to create a sub theme with drush and got this error:
$ drush adaptivetheme "Clean" clean
Command adaptivetheme needs the following module(s) enabled to run: .
The drush command 'adaptivetheme Clean clean' could not be executed.

I tried this in several places as well ("sites/default", "sites/all/themes", "sites\all\themes\adaptivetheme\at_core").

It's not that big a deal as I can just copy the sub-theme folder but I am a big fan of drush (and your work by the way).

Thanks
MrPhilbert

P.S. I'm using Drush 7.0.dev on windows and called using gitbash. Also on apache 2.2 with php 5.4.

Comments

MrPhilbert’s picture

Issue summary: View changes
cmckay’s picture

FYI...I just ran into a similar issue just now. After some troubleshooting, I narrowed down the fix to a simple drush cc (select 1) to clear all caches. Hopefully that fixes the error you are having.

jcovington’s picture

drush cc solved this problem for me too. Thanks!

Jeff Burnz’s picture

Yeah, "drush cc all" usually solves problems like this, I have used Drush to create a lot of sub themes and typically there are no issues after a cc all.

Jeff Burnz’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.