Disable all drupal non-core modules for extreme troubleshooting.

drush pm-list --type=module --status=enabled | sed '/\((.*)\)/!d;/[Cc]ore.*-.*[Rr]equired/d;s/.*(\(.*\)).*/\1/' | sort > noncoremod.txt
drush pm-disable $(cat noncoremod.txt)

Also, drush has an shell alias located in drushrc.example.php that will do this for you:

# $options['shell-aliases']['dis-all'] = '!drush -y dis $(drush pml --status=enabled --type=module --no-core --pipe)';

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.