Initially got this error when trying to do the "southsea freebooters" quest. I manually did the quest and then got the same error for the next quest.
looks like the thing it has a problem with is part of a quest called "A Captain's Vengeance" complete that quest and it should skip pass it.