Base table or view not found: 1146 Table 'drupal.userpoints' doesn't exist

Created on 20 June 2022, almost 3 years ago
Updated 5 February 2023, about 2 years ago

Problem/Motivation

Unable to disable module after updating to 2.0.0-beta2. It throws:

  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal.userpoints' doesn't exist: SELECT "base_table"."vid" AS "vid", "base_table"."id" AS "id"
  FROM
  "userpoints" "base_table"
  LIMIT 1 OFFSET 0; Array
  (
  )

Steps to reproduce

Update `userpoint` module to 2.0.0-beta2 and try to disable from drush

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code: userpoints

Created by

πŸ‡¬πŸ‡§United Kingdom rajeevk London

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

    userpoints_default created a default entity. It is suggested in the modules composer.json file to add drupal.org/project/points. But it is only for Drupal 8, not 9 or 10.

Production build 0.71.5 2024