Running drush.php -l xxxx statusmodules

I get the following:

Fatal error: Call to undefined function module_load_include() in /usr/local/drupal/drush/commands/pm/pm.drush.inc on line 205

I would think this is because it's trying to use a function which is only available since D6 and I am using it on D5.

CommentFileSizeAuthor
#1 pm.drush_.inc_.patch732 bytesjaydub

Comments

jaydub’s picture

Status: Active » Needs review
StatusFileSize
new732 bytes

Ran into this too. Here's a patch which checks to see if the function is defined before running. If not then it runs essentially the same line as is in the module_load_include() function.

moshe weitzman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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