There is no "diplomacy" technology in the Prehistoric era tech tree. The prehistoric era is incompatible with other mods that alter the tech tree. Whatever mod is adding diplomacy to the tech tree is causing your error.
Yea, found that out... the Eras mod was the problem, sorry!