I'm getting this error when i click on add to card button.
Drupal\Core\Entity\EntityStorageException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'barcelone.commerce_promotion' doesn't exist: SELECT "base_table"."promotion_id" AS "promotion_id", "base_table"."promotion_id" AS "base_table_promotion_i
Comments
Comment #2
cilefen commentedThis seems something to do with Drupal Commerce rather than Drupal Core. Drupal Core is properly reporting a missing table.
Comment #3
cilefen commentedComment #4
dharmeshbarot commentedI just checked my database and a few tables are missing from the commerce_promotion module, so I made a new localhost website and install that module and exported those tables from the database, and imported them to my old website database which fixed my error.
Comment #5
quietone commentedShortening the title