The Live edit page could not be initialized. TypeError: this.fragmentComponent.getFragment is not a function

Enonic version: 6.6.2-SNAPSHOT
OS: Mac

The Live edit page could not be initialized. TypeError: this.fragmentComponent.getFragment is not a function

I think this happens because the page config contains two fragments which are not linked to any content.
You may be able to reproduce it by right click, insert fragment, do not choose which fragment, but simply click save draft/publish.
I’ve had 1 empty part and 2 empty fragments on that page which I have been unable to remove in Content Studio.
The weird thing is I have not seen this error message before today.

I’m going to work around it by doing a dump, edit file, load.

I was not able to reproduce the problem in the latest snapshot. I added 2 fragment components, without selecting any fragment for them, and a part.
Is there anything else in your page?