I am updating a template, but when I try to Preview I receive the above error.
I have checked all images on the template and they all have width and height defined in the Properties tab.
How can I interrogate this error further?
I had a similar error when I first started working with templates. The way I fixed it was to go into the logo in item properties in the branding and manually add a width and height. I looked in the json for the template and these were null for some reason, I think it's a bug.
thanks for the information. I think I saw an old response of yours, so I tried that. I checked all the images and the logo in the form, and all have width and height set, but I still get an error.
Part of the problem is that the error does not give context or target. It does not say which item is causing the error, so I can't target an item to resolve the issue.
Thanks anyway for the suggestion, I'll keep working through the items.
If you export the json of the template it might be easier to find the missing values there. You can then search on width and height and see if any elements have undefined or null for these.
Thanks Matt, that's a good idea.
I'm a bit focused at the moment, so it's great to get a prompt to look outside the box.
I'll give that a try.
Success! I found the offending item - it was in the brand, the logo was missing dimensions.
Thanks for the tip.
That's actually what I was suggesting would be the problem, sorry If I didn't make that clear.