Fix the following error.

Drupal\Core\Entity\EntityStorageException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dev1.k8s_persistent_volume_capacity' doesn't exist: INSERT INTO {k8s_persistent_volume_capacity} (entity_id, revision_id, bundle, delta, langcode, capacity_item_key, capacity_item_value) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => 4 [:db_insert_placeholder_1] => 4 [:db_insert_placeholder_2] => k8s_persistent_volume [:db_insert_placeholder_3] => 0 [:db_insert_placeholder_4] => und [:db_insert_placeholder_5] => storage [:db_insert_placeholder_6] => 1Gi ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 846 of /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Xiaohua Guan created an issue. See original summary.

Xiaohua Guan’s picture

Issue summary: View changes
Xiaohua Guan’s picture

Xiaohua Guan’s picture

Status: Active » Needs review

@yas

Please review the patch file. Thanks.

yas’s picture

Status: Needs review » Reviewed & tested by the community

@xiaohua-guan

Thank you for providing the patch. I tested it and looks good to me. I'll merge the patch to 8.x-2.x and close this issue as Fixed.

  • yas committed b310c7e on 8.x-2.x authored by Xiaohua Guan
    Issue #3102287 by Xiaohua Guan, yas: Fix the error "Table...
yas’s picture

Status: Reviewed & tested by the community » Fixed
yas’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.