Blueprint could not be loaded because it derives from an invalid class

Are you programming with the editor open?

Close UE, build the c++ code, create core redirectors if necessary, restart the editor, check every BP one by one and save them if they updated properly. After saving all BPs remove the core redirectors.