I have deleted the attribute in the product class before I deleted it in the product content and got this error:
Trying to get property of non-object in uc_object_attributes_form()
I can't delete this attribute form content!