Closed (fixed)
Project:
Like/Dislike
Version:
2.4.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2023 at 10:27 UTC
Updated:
12 Aug 2023 at 20:09 UTC
Jump to comment: Most recent
Hi!
When upgrading from version 2.1 to 2.4, I get an error.
Tell me, how can I fix it?
Update No. 8001
Failure: Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'soft.comment_revision__field_like_dislike' doesn't exist: SELECT "comment_revision__field_like_dislike".* FROM "comment_revision__field_like_dislike" "comment_revision__field_like_dislike"; Array ( ) in like_dislike_update_8001() (line 22 of ...web\modules\contrib\like_dislike\like_dislike.install).
Comments
Comment #2
heykarthikwithuHi @mNigma07,
Can you let me know how this table (comment_revision__field_like_dislike) is created? Any specific configuration within core or contrib module or custom code you are using to generate the comment revision?Ignore this comment.
Comment #4
heykarthikwithuHi @mNigma07,
I just noticed this
comment_revision__field_like_disliketable doesn't exist in drupal database, because by default drupal is not allowing to create revisions for comment entity type.This is fixed in the new release 2.4.1 version, Use this version module.
Comment #5
mnigma07 commentedThanks for the quick fix.