The 'mail' not found error when creating new user.

Created on 30 December 2022, almost 2 years ago
Updated 3 March 2024, 9 months ago

Hi!

I've the error when creating new user:
Drupal\Core\Entity\Query\QueryException: 'mail' not found in Drupal\Core\Entity\Query\Sql\Tables->ensureEntityTable() (line 369 of /var/www/html/web/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php).

I think it can go from:

function _search_api_saved_searches_load_searches(?int $uid = NULL, ?string $mail = NULL): array {
  try {
    $query = \Drupal::entityQuery('search_api_saved_search');
    if ($mail !== NULL) {
      $query->condition('mail', $mail);

I don't see 'mail' field definition in 'search_api_saved_search' entity. Trying to check code and research solution.
Any ideas?

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine khiminrm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024