In the plugin which creates and updates the gallery user seems to be an error:
line 33:
Instead of
PHP Code:
$ret = GalleryEmbed::isExternalIdMapped($uid,$args);
it should be:
PHP Code:
$ret = GalleryEmbed::isExternalIdMapped($uid, 'GalleryUser');
Else isExternalIdMapped always returned an error - but not the expected 'ERROR_MISSING_OBJECT'. So the script always tries to update an existing user.