Shader .... unknown by landscape thumbnail material, please add to either AllowedShaderTypes or ExcludedShaderTypes

I found a solution:
Update to 4.18.2 and then got to
%localappdata%\UnrealEngine\Common\DerivedDataCache
and delte everything in this folder.
Start the editor and it will be gone.