I have come across this problem. I do not know what causes it.

In my case, they were buildings I built. I'm almost certain this also happens in the starting provinces.

However, after loading the game, and clicking on the capital to activate the advisor so I could active the EB script seems to have worked.