The error indicates that you've added something to the namespace.wishlists[raid] table that is not a frame, texture, fontstring etc. A quick check before the SetPoint would be to see what you're trying to action by inserting
print(key, itemButton, itemButton.SetPoint)
|