since you don't get the error when editing some eCart objects, i would guess the problem is specify to the way the eCart objects that do have the problem are defined.
can you send a copy of one of the eCart object files that you are getting the error with.