The error message is saying that there is corruption at frame No. 578 that caused the export to fail. It is probably a black frame. Expand your timeline full out and slowly scroll through it in the area of frame No. 578. Look for black frames, white flashes, artifacts and any other indications of corruption. Cut out any that you find and export again.
You can find where frame No. 578 is located by dividing the frame rate of your project into 578. That will tell you the time point in seconds at which the frame appears.
If you want to preserve your original project, you can duplicate the project and work with the duplicate.
Another thing that you can try is deleting preferences. Open iMovie while holding down the Option and Command keys and select to delete preferences in the box that appears. iMovie will open in a new blank library. Reopen your old library to get back to your projects. It is a safe procedure. Now see if you can export.
-- Rich