Condition <f:if condition="ogImage"> checks the string ogImage, not the variable.
If there is no firstPreview and no falMedia, the ogImage is NULL. Condition doesn't work and f:uri.image is executed with NULL, what causes an error:
Unable to render image uri in "tt_content:12970": You must either specify a string src or a File object.
Bug Report
Current Behavior
Condition
<f:if condition="ogImage">
checks the stringogImage
, not the variable. If there is nofirstPreview
and nofalMedia
, the ogImage is NULL. Condition doesn't work andf:uri.image
is executed with NULL, what causes an error:Possible Solution Fix the condition