Foliage Material problem

You have a problem with your LOD settings, check the static mesh for what is set to LOD1 and so on…the problem might be that there is no material set for LOD1.

About the shadow, you probably should learn a bit more about the foliage tool before using it. Please watch tutorials or read the unreal documentation because shadow, LOD settings and so on have to be set in the settings of the foliage tool.