Module uninstall fails with the following:

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'swfupload_setting_%' in 'where clause': DELETE FROM {variable} WHERE name LIKE "swfupload_setting_%"; Array ( ) in swfupload_uninstall() (line 12 of /home/admin-local/www/fashion/sites/all/modules/swfupload/swfupload.install).

Comments

wbartussek’s picture

Exactly the same issue with my installation when trying to uninstall swfupload. Uninstall of swfupload is necessary to get rid of a wrong version of Libraries module because the authors seem to think that it isn't worth while to indicate that one shouldn't take the recommended version but rather a newer version which is still under development. I know there is always a risk in installing an alpha version, but now I can't get rid of it and I'm stuck in a vicious circle.

stan turyn’s picture

wbartussek,

Just comment out the swfupload_uninstall() function and you'll be able to uninstall.