I have a grid field named 'cf_results', which has a column named 'file' which is an assets data type. The other columns are text types named 'link-text' and 'link-url'. There will either be a file or a link-url but not both. I'm getting a set of 3 PHP error notices for every entry on the page, regardless of there being data in the assets field of an entry or not see attached screenshot. But it all seems to be working otherwise.
This is the template code:
{if cf_results}
<ul>
{cf_results}
<li>
<a href="{cf_results:file}{cf_results:link-url}">{cf_results:link-text}</a>
</li>
{/cf_results}
</ul>
{if:else}
<p>Results will be available soon.</p>
{/if}