Skip to content

Drupal\Core\Database\IntegrityConstraintViolationException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'צביה -en' for key 'user__name #149

@morovinger

Description

@morovinger

Sometimes getUidByName in GigyaController.php returns empty array even though the name exists
This happens on regular basis if pre-gigya users exist in db
i suggest use user_load_by_name() as it tends to work more stability

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions