Hello,

I've got the following error when running drush entup command:

Drupal\Core\Entity\EntityStorageException: Exception thrown while performing a schema          [error]
update. SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_activity_block_value'
in 'where clause': SELECT 1 AS expression
FROM 
{node_revision__field_activity_block} t
WHERE (field_activity_block_value IS NOT NULL) OR (field_activity_block_revision_id IS NOT
NULL)
LIMIT 1 OFFSET 0; Array
(
)
 in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1513 of
/var/www/html/docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Failed: Drupal\Core\Entity\EntityStorageException: !message in                                 [error]
Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1513 of
/var/www/html/docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Matroskeen created an issue. See original summary.

Matroskeen’s picture

Looks like this patch solves the issue but I'm not sure with possible consequences. Definitely, it needs review.

Matroskeen’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: field_collection-unknown-column-in-revision-table-2930772-2-D8.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

Smesnoje’s picture

I'm having a similar issue after updating.

Drupal\Core\Entity\EntityStorageException: Exception thrown while    [error]
performing a schema update. SQLSTATE[42S22]: Column not found: 1054
Unknown column 'field_people_value' in 'where clause': SELECT 1 AS
expression
FROM 
{commerce_order_item__field_people} t
WHERE (field_people_value IS NOT NULL) OR (field_people_revision_id
IS NOT NULL)
LIMIT 1 OFFSET 0; Array
(
)
 in
Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException()
(line 1535 of
/var/www/html/my_website/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Failed: Drupal\Core\Entity\EntityStorageException: !message in       [error]
Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException()
(line 1535 of
/var/www/html/my_website/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php)
ram4nd’s picture

Status: Needs work » Closed (won't fix)