So, first of all, the symptom you're reporting is perfectly normal if you're running a project created before Snap! 7.0 in a Snap! 7.0 or later. So, if that's the situation, don't panic.
The way you fix it is to open the project, then reload the library/-ies. (Then save the project, if it now works.) (Someone did say that already, but I'm afraid that in the huge flurry of conflicting advice you might have missed it.)
If that doesn't solve your problem, please run Snap!, click on the Snap! logo in the top left corner, choose "About," and tell us what version of Snap! you're actually running.