Hidden property cannot be set on web part

I was con­struct­ing a web­page with an InfoPath form and a Query­Fil­ter web­part on it. After sav­ing it i coud­n’t open the new page from a brows­er. It threw a cor­re­la­tion error at me.

Using the ULSview­er i traced down to this errormes­sage: hid­den prop­er­ty can­not be set on web part [web part name] since it is a stand­alone web part.


The rea­son i got this error was that i placed the Query­Fil­ter web­part out­side of a web­part­zone on the page. Mov­ing it into a web­part­zone (i first had to cre­ate one) solved my prob­lem.