Like the title says, I get this error whenever I try to compile a map.

One of the model phong materials which is used by a model referenced in the console log, so i tried compiling the map without that model and it compiled without and error. Also, if I keep compiling after that error, the compiling goes without any further errors but the map doesn't load unless I keep the texture quality at lowest and I get this error if I don't.

Any ideas?
