Gutenberg: Can't write post: TypeError: Object(...) is not a function

Created on 6 May 2018  路  8Comments  路  Source: WordPress/gutenberg

So, I'm just trying to write a new blog post. I can add the title, but when I want to click the paragraph, I'm getting a message:

The editor has encountered an unexpected error.

The attempt of the recovery doesn't do anything, and here is an error message:

TypeError: Object(...) is not a function
    at ie (https://yzoja.pl/wp-content/plugins/gutenberg/blocks/build/index.js?ver=1525619815:18:145874)
    at https://yzoja.pl/wp-content/plugins/gutenberg/blocks/build/index.js?ver=1525619815:18:145197
    at i (https://yzoja.pl/wp-content/plugins/gutenberg/vendor/lodash.min.59550321.js:6:91)
    at An.filter (https://yzoja.pl/wp-content/plugins/gutenberg/vendor/lodash.min.59550321.js:99:338)
    at oe (https://yzoja.pl/wp-content/plugins/gutenberg/blocks/build/index.js?ver=1525619815:18:145543)
    at https://yzoja.pl/wp-content/plugins/gutenberg/editor/build/index.js?ver=1525619815:17:168630
    at beginWork (https://yzoja.pl/wp-content/plugins/gutenberg/vendor/react-dom.min.b75d8b30.js:134:396)
    at e (https://yzoja.pl/wp-content/plugins/gutenberg/vendor/react-dom.min.b75d8b30.js:168:253)
    at f (https://yzoja.pl/wp-content/plugins/gutenberg/vendor/react-dom.min.b75d8b30.js:169:23)
    at y (https://yzoja.pl/wp-content/plugins/gutenberg/vendor/react-dom.min.b75d8b30.js:174:431)

I'm now running version 2.8.0, but it has happened on the previous one as well.

Plugins I'm using: ACF and Yoast, that's all. WordPress 4.9.5. Custom theme. No cache.

Edit I tried the wp.hooks renaming but that didn't work for me.

Most helpful comment

Solved.
Update your ACF Pro plugin :)

All 8 comments

Thank you for the bug report, @yzoja! Could I get you to try clearing your browser cache, and then opening the editor again? We've had similar reports where old versions of the JS files are being loaded just after upgrading.

Also, could you try disabling the plugins and switching to one of the Twenty* themes briefly, just to see if that makes a difference?

seems to be similar to #6583

@pento probably the wp.hooks worked but with a delay. Thanks!

Didn 't need to switch to default theme, phew.

@yzoja similar issue here. What do you mean by "I tried the wp.hooks renaming but that didn't work for me." ? What did you change ?

Hello, same issue here, don't understand what did you mean by "wp.hooks" ?

Same bug for me.

Solved.
Update your ACF Pro plugin :)

Indeed it works now ! Thank you ! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jasmussen picture jasmussen  路  3Comments

jasmussen picture jasmussen  路  3Comments

moorscode picture moorscode  路  3Comments

ellatrix picture ellatrix  路  3Comments

spocke picture spocke  路  3Comments