Hi, thanks for the reply.
I also have it in a loop. But sadly for me, it doesn’t matter if I put it outside the loop or not.
I even have it as a parameter in a different view, getting the same error on it.
export class PictureDetailPage {
picture : Picture = new Picture();
}