Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
MrPhilbert CreditAttribution: MrPhilbert commentedComment #2
cmckay CreditAttribution: cmckay commentedFYI...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.Comment #3
jcovington CreditAttribution: jcovington commenteddrush cc
solved this problem for me too. Thanks!Comment #4
Jeff Burnz CreditAttribution: Jeff Burnz commentedYeah, "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.
Comment #5
Jeff Burnz CreditAttribution: Jeff Burnz commented