- 🇳🇿New Zealand quietone
I tested this on Drupal 10.1.x, standard install using the steps in the Issue Summary. I was able to reproduce the problem. The error I get when trying to add a field 'sample' to a page is
The website encountered an unexpected error. Please try again later.Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_sample_value' in 'where clause': SELECT 1 AS "expression" FROM "node_revision__field_sample" "t" WHERE "field_sample_value" IS NOT NULL LIMIT 1 OFFSET 0; Array ( ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->countFieldData() (line 1787 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
The patch needs to be updated, with #8 in mind.
- 🇨🇦Canada mgifford Ottawa, Ontario
How would one create this without modifying the database? How does this crop up, without doing something that 99% of site builders don't do?