- π§π©Bangladesh eashika
Followed the steps, but could not reproduce them on fresh install of Drupal 9.5 and Drupal 10.1
- Status changed to Postponed: needs info
almost 2 years ago 12:16pm 24 February 2023 - Status changed to Closed: outdated
11 months ago 5:03pm 24 January 2024 - πΊπΈUnited States smustgrave
Since there hasn't been a follow up in almost a year going to close out for now. If still valid please reopen adding steps to reproduce.
- Status changed to Active
10 days ago 6:38pm 12 December 2024 - π§πͺBelgium ikeigenwijs
i was going through old tickets,
still an issue when removing te old field from user profile.i dont know how to reproduce exactly.
but we did this:
1) create field 'user_id_account' in /admin/config/people/accounts/fields
wil result in 'field_user_id_account'
2) I presume this field is added to projects on some point, not visible now(prior to removing the recreated field)
also no usages listed on /admin/config/people/accounts/fields3) remove the field in /admin/config/people/accounts/fields
when deleting this field some reference stays of this field somewher, did not find it.
4) edit node, save /node/101/editget errorfield does not appear on the contenttype but node save breaks everyphin.
did cache clear after removal.a pointer to the richt location or tables, next search is just a file And db grep to vind the ghost entry.
found references in following tables:
key_value_expire
config
cache_default
cache_config
key_value
cache_deltaQuite a lot for a deleted field and cleared cache
The website encountered an unexpected error. Try again later. Drupal\Core\Entity\Query\QueryException: 'field_user_id_account' not found in Drupal\Core\Entity\Query\Sql\Tables->ensureEntityTable() (line 369 of core/lib/Drupal/Core/Entity/Query/Sql/Tables.php). Drupal\Core\Entity\Query\Sql\Tables->addField() (Line: 296) Drupal\Core\Entity\Query\Sql\Query->getSqlField() (Line: 197) Drupal\Core\Entity\Query\Sql\Query->addSort() (Line: 83) Drupal\Core\Entity\Query\Sql\Query->execute() (Line: 391) Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection->validateReferenceableEntities() (Line: 133) Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraintValidator->validate() (Line: 202) Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validateConstraints() (Line: 154) Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validateNode() (Line: 164) Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validateNode() (Line: 106) Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validate() (Line: 93) Drupal\Core\TypedData\Validation\RecursiveValidator->validate() (Line: 132) Drupal\Core\TypedData\TypedData->validate() (Line: 518) Drupal\Core\Entity\ContentEntityBase->validate() (Line: 188) Drupal\Core\Entity\ContentEntityForm->validateForm() call_user_func_array() (Line: 82) Drupal\Core\Form\FormValidator->executeValidateHandlers() (Line: 274) Drupal\Core\Form\FormValidator->doValidateForm() (Line: 118) Drupal\Core\Form\FormValidator->validateForm() (Line: 593) Drupal\Core\Form\FormBuilder->processForm() (Line: 326) Drupal\Core\Form\FormBuilder->buildForm() (Line: 73) Drupal\Core\Controller\FormController->getContentResult() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741) Drupal\Core\DrupalKernel->handle() (Line: 19)