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

Custom Gutenberg Block broken after update to 2.9 #6835

Closed
purzlbaum opened this issue May 18, 2018 · 4 comments
Closed

Custom Gutenberg Block broken after update to 2.9 #6835

purzlbaum opened this issue May 18, 2018 · 4 comments

Comments

@purzlbaum
Copy link

After the update I my custom built block is broken.

This is the error message from the Chrome console:
react-dom.min.0d9b4499.js:62 Error: Minified React error #130; visit http://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at ze (react-dom.min.0d9b4499.js:82)
at l (react-dom.min.0d9b4499.js:12)
at ec (react-dom.min.0d9b4499.js:46)
at react-dom.min.0d9b4499.js:61
at k (react-dom.min.0d9b4499.js:129)
at h (react-dom.min.0d9b4499.js:129)
at beginWork (react-dom.min.0d9b4499.js:135)
at e (react-dom.min.0d9b4499.js:168)
at f (react-dom.min.0d9b4499.js:169)
at A (react-dom.min.0d9b4499.js:175)
@ react-dom.min.0d9b4499.js:62

bildschirmfoto 2018-05-18 um 20 57 53

@youknowriad
Copy link
Contributor

youknowriad commented May 18, 2018

Sorry for the breakage. Unfortunately, this error doesn't help. Make sure to run unminified React (SCRIPT_DEBUG set to true). You'll have more details about the error. This is more likely that the custom plugin is using one of the deprecated components? See here for the deprecated features, also make sure to check the warnings in the browser's console https://wordpress.org/gutenberg/handbook/reference/deprecated/#2-8-0

@youknowriad
Copy link
Contributor

See #6837 it's probably a similar issue.

@youknowriad
Copy link
Contributor

How is your script enqueued on the server?

@purzlbaum
Copy link
Author

The fix from #6837 seems to do the job. I'll close this issue now.

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

2 participants