Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
yzoja opened this issue May 6, 2018 · 8 comments
Closed

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

yzoja opened this issue May 6, 2018 · 8 comments

Comments

@yzoja
Copy link

yzoja commented May 6, 2018

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.

@pento
Copy link
Member

pento commented May 7, 2018

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?

@chameleon-tbn
Copy link

seems to be similar to #6583

@yzoja
Copy link
Author

yzoja commented May 7, 2018

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

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

@yzoja yzoja closed this as completed May 7, 2018
@tomchiverton
Copy link

@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 ?

@VianneyYooCI
Copy link

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

@bpongy
Copy link

bpongy commented Jan 4, 2019

Same bug for me.

@bpongy
Copy link

bpongy commented Jan 4, 2019

Solved.
Update your ACF Pro plugin :)

@VianneyYooCI
Copy link

Indeed it works now ! Thank you ! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants