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 get the below PDOException when trying to uninstall the user module on a Drupal 7 RC3 site:
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''xmlsitemap_settings_user_%%' at line 1: DELETE FROM {variable} WHERE name LIKE 'xmlsitemap_settings_user_%%; Array ( ) in xmlsitemap_user_uninstall() (line 36 of [path]\sites\all\modules\xmlsitemap\xmlsitemap_user\xmlsitemap_user.install).
Comments
Comment #1
Dave ReidThanks, I discovered that SQL line is actually unnecessary, so I removed it from CVS for both 7.x-2.x and 6.x-2.x.
http://drupal.org/cvs?commit=471576
Comment #2
tsvenson CreditAttribution: tsvenson commentedThanks, tried and tested to work as it says on the tin now.