What specifically is returning the error? That should only happen if you are trying to do something in the vertex shader like displacement or world position offset with it.
If that is the case, you will need to edit the function in two places. First in the main function itself, change all these heightmap samples to use None for the mip value mode:
And then you will need to do the same thing to 1 more texture sample in this function:
MaterialFunction’/Engine/Functions/Engine_MaterialFunctions01/Texturing/TextureBomb_SingleSample.TextureBomb_SingleSample’
This may cause slight aliasing artitfacts on the edge of tiles.