Hallo,
I just found out that the field name of the user reference must be quite short because the variables table name field is limited to 48 digits

So either take short names for your field or change your database settings. I hope it helps.