YOU SAID:
we have heard there was food
INTO JAPANESE
食べ物があったと聞きました
BACK INTO ENGLISH
I heard there was food
INTO JAPANESE
食べ物があると聞きました
BACK INTO ENGLISH
I heard that there is food
INTO JAPANESE
食べ物があると聞きました
BACK INTO ENGLISH
I heard that there is food
That didn't even make that much sense in English.