This is the error i got from drush when i tried to uninstall the module after several failed attempt trying to do it in the user insterface

[~/public_html/mysite]# drush pm-uninstall user_visits
The following modules will be uninstalled: user_visits
Do you really want to continue? (y/n): y
WD php: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'server_atamain.variables' doesn't exist: DELETE FROM {variables} WHERE name LIKE 'user_visits%%'; Array                                        [error]
(
)
 in user_visits_uninstall() (line 51 of /home1/server/public_html/mysite/sites/all/modules/user_visits/user_visits.install).
Cannot modify header information - headers already sent by (output started at /home1/server/drush/includes/output.inc:38) bootstrap.inc:1232                                                                                    [warning]
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'server_atamain.variables' doesn't exist: DELETE FROM {variables} WHERE name LIKE 'user_visits%%'; Array
(
)
 in user_visits_uninstall() (line 51 of /home1/server/public_html/mysite/sites/all/modules/user_visits/user_visits.install).
Drush command terminated abnormally due to an unrecoverable error. 

How do i uninstall the module

Thanks

Comments

docans created an issue. See original summary.

pareshpatel’s picture

Please take the latest version of the user_visits module. "git clone --branch 7.x-1.x https://git.drupal.org/project/user_visits.git".

The issues has been already resolved.

Thanks

sanduhrs’s picture

Status: Active » Closed (fixed)

I just released a new version 7.x-1.1 for download.