Problem/Motivation

Error occurs while running database updates after installing the persistent_login module version 1.8.

Steps to reproduce

While executing update db, the update persistent_login_update_8108 fails with the error.

Update #8108
Failed: Drupal\Core\Database\InvalidQueryException: Query condition 'uid IN ()' cannot be empty. in Drupal\Core\Database\Query\Condition->condition() (line 106 of /core/lib/Drupal/Core/Database/Query/Condition.php).

Comments

fathima.s created an issue. See original summary.

gapple’s picture

Status: Active » Fixed

The supported release, 1.10, already contains a check to ensure the relevant query only runs when there are relevant values to provide for the condition.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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