"Infinite Loop Detected" and other errors.

Hello, i just joined a server that i always go onto and when i joined i get the error “infinite loop detected” which then causes my game to freeze for about 1minute then freeze again… any help?