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.
When uninstalling linkchecker 2.6 from Drupal 6, I get a php error along the lines of: "Missing argument 2 for variable_get()" for bootstrap.inc (Sorry, fixed it before copying the whole error...)
Looking at issue: http://drupal.org/node/113946 helped trace down the issue to a line in the linkchecker.install file.
On line 35:
variable_get('linkchecker_check_connections_max');
Needs to have NULL added to it to get rid of the error.
variable_get('linkchecker_check_connections_max',NULL);
I don't know the first thing about programming to know if this has other implications, but I do know it gets rid of the error on uninstall.
Comments
Comment #1
hass CreditAttribution: hass commentedNeed to be "del" for delete, not "get".
Comment #2
hass CreditAttribution: hass commentedComment #3
philsward CreditAttribution: philsward commentedSo line 35 should actually be:
I thought it was odd to have the "get" in among the "delete" but figured there was a reason for it :-)
Comment #4
hass CreditAttribution: hass commentedD6: http://drupalcode.org/project/linkchecker.git/commit/e1318b1
D7: http://drupalcode.org/project/linkchecker.git/commit/f68187d