Without looking at the .hip file and for anyone else getting this error:
You're probably creating a circular reference, meaning that you copied the parameter from field ‘a’ as a relative reference into field ‘b’ and then did the same from field ‘b’ to field ‘a’.