v4iv / gatsby-starter-business

Gatsby Business Website Starter

Home Page:https://gatsby-starter-business.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

netlify cms

jasonday opened this issue · comments

Failed to persist entry: TypeError: Cannot read property 'appendChild' of null
Entry saved

When editing or creating entries within the netlify cms, I receive the above notifications.

In the console:

netlify-cms.js:101 Uncaught (in promise) TypeError: Cannot read property 'appendChild' of null
    at k (embed.js:35)
    at Object.l [as isSerif] (embed.js:35)
    at h.i.toJSON (embed.js:35)
    at Object.c.loadEmbed (embed.js:36)
    at Object.c.reset (embed.js:37)
    at DisqusThread.loadDisqus (DisqusThread.js:128)
    at DisqusThread.componentDidMount (DisqusThread.js:65)
    at Ja (netlify-cms.js:212)
    at Ga (netlify-cms.js:212)
    at Va (netlify-cms.js:212)
commented

Same issue. It actually is working, if you review the blog post in draft and publish from there. The preview then works. Really hope this is fixed.

Uncaught TypeError: Cannot read property 'appendChild' of null
at k (embed.js:35)
at Object.l [as isSerif] (embed.js:35)
at h.i.toJSON (embed.js:35)
at Object.c.loadEmbed (embed.js:36)
at Object.c.reset (embed.js:37)
at DisqusThread.loadDisqus (DisqusThread.js:128)
at DisqusThread.componentDidMount (DisqusThread.js:65)
at Ja (netlify-cms.js:212)
at Ga (netlify-cms.js:212)
at Va (netlify-cms.js:212)

Same issue. Have been poking around and I can not find a solution, or frankly even the problem.

The issue only happens when adding a title, I can work on the content without the error being thrown. Once the error is thrown refreshing the page usually allows preview to work again.

Same issue.

Sorry guys, I didn't get much time to look into this, but it seems like a problem of Netlify CMS itself, I'm open for PRs incase if you find a solution