Problem/Motivation

I'm trying to uninstall the votingapi module

Steps to reproduce

$ drush pm:uninstall votingapi

In Connection.php line 701:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base_table.id' in 'field list': SELECT base_table.id AS id, base_table.id AS base_table_id
FROM
{votingapi_result} base_table
LIMIT 1 OFFSET 0; Array
(
)

In Statement.php line 59:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base_table.id' in 'field list'

pm:uninstall [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--druplicon] [--notify [NOTIFY]] [--xh-link XH-LINK] [--] []...

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

nikhil_drupal created an issue. See original summary.

tr’s picture

Category: Bug report » Support request
Priority: Critical » Normal
Issue tags: -unable to uninstall the module
tr’s picture

Status: Active » Closed (cannot reproduce)

Your previous post indicated you had a corrupted database related to this module: #3218106: Unable to Delete Node when voting is enabled for that content type
It is unlikely that you can remove ANY Drupal module without errors if you have corrupted data.

I have tested and verified that this module DOES uninstall without errors on a clean install. The problem is not because of the module, but because of the state of your server.