I have the same problem… I disabled all the other plugins but Yoast and AMP and the problem persists. I’ve rolled back to Yoast 13.5 and the problem is solved.
I confirm, I get a similar error even after the 14.0.1 update. I started to get the error when I updated to 14.0.0. If I rollback to 13.5, it works fine.