I was trying to uninstall apachesolr_attachments but got WSOD and syslog errors after clicking on the Uninstall button on the confirm uninstall page. The syslog errors were:
- Notice: Undefined index: distribution_name in drupal_install_profile_distribution_name() (line 202 of /www/advantagelabs/releases/drupal-7/abrasive/drupal/includes/install.inc).
- Notice: Undefined index: name in system_requirements() (line 39 of /www/advantagelabs/releases/drupal-7/abrasive/drupal/modules/system/system.install).
- Notice: Undefined index: version in system_requirements() (line 41 of /www/advantagelabs/releases/drupal-7/abrasive/drupal/modules/system/system.install).
My process was to disable all apache solr modules, then try to uninstall them in reverse dependency order. This seems like a reasonable process to me, but perhaps it's a rookie error (according to cpelham)
The work-around is to go back are re-enable the apache solr framework and apache solr search modules, then uninstall the attachments, then continue disabling and uninstalling the solr framework et al.
I'm posting this more or less so people who are stuck on the same issue can find the solution. If it's a bug at all, I'm not sure if it's with this module or with core, or if it should be fixed in code or documentation.
Comments
Comment #1
wmostrey commentedCould you try the latest patch in #1408064: Fatal Error after updating Apachesolr and see if it fixes your problem?
Comment #2
alexkb commentedThanks for posting this issue, rt_davies - I had the exact same error, and re-enabling solr search before uninstalling attachments worked for me.
Comment #3
nick_vh