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

The Editor encountered an unxpected error #3747

Closed
garikaib opened this issue Dec 1, 2017 · 11 comments
Closed

The Editor encountered an unxpected error #3747

garikaib opened this issue Dec 1, 2017 · 11 comments
Labels
[Status] Needs More Info Follow-up required in order to be actionable.

Comments

@garikaib
Copy link

garikaib commented Dec 1, 2017

When I attempted to use the plugin on my site I could not create or edit posts. The editor keeps saying it has encountered an unexpected error. I clicked on the copy error button and this is the text I got.

o/r<@https://success.africa/wp-content/plugins/gutenberg/editor/build/index.js?ver=1512100375:11:32262
n@https://success.africa/wp-content/plugins/gutenberg/editor/build/index.js?ver=1512100375:6:25608
o@https://success.africa/wp-content/plugins/gutenberg/editor/build/index.js?ver=1512100375:6:13770
o@https://success.africa/wp-content/plugins/gutenberg/editor/build/index.js?ver=1512100375:11:32239
beginWork@https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:47:195
e@https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:18:365
k@https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:19:366
Q@https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:20:355
ed@https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:24:374
fb@https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:23:397
enqueueSetState@https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:52:440
y/r.prototype.setState@https://success.africa/wp-content/plugins/gutenberg/vendor/react.min.6b26329b.js:16:370
value@https://success.africa/wp-content/plugins/gutenberg/components/build/index.js?ver=1512100375:6:255974
value/<@https://success.africa/wp-content/plugins/gutenberg/components/build/index.js?ver=1512100375:6:257020
C/</<@https://success.africa/wp-content/plugins/gutenberg/components/build/index.js?ver=1512100375:6:35457
C/<@https://success.africa/wp-content/plugins/gutenberg/components/build/index.js?ver=1512100375:6:35327
u@https://success.africa/wp-content/plugins/gutenberg/components/build/index.js?ver=1512100375:6:39029

I have the following plugins installed:

  • AdRotate
  • All In One WP Security
  • Disqus Comment System
  • Envato Market
  • GoDaddy Pro Sites Worker
  • Google Analytics for WordPress by MonsterInsights
  • Gutenberg
  • Insert Post Ads
  • Jetpack by WordPress.com
  • Let's Review
  • Nginx Helper
  • SMTP Mailer
  • TablePress
  • The Grid
  • UpdraftPlus - Backup/Restore
  • WooCommerce
  • WooCommerce PayPal Express Checkout Gateway
  • WP Super Cache
  • WPBakery Visual Composer
  • Yoast SEO
    I cannot disable them because this is a production site.
@luchoster
Copy link

I have the same issue and even if I don't have ANY plugins active, still gives me the error. :(

@dartiss
Copy link

dartiss commented Dec 13, 2017

I'm suddenly getting the same error, with the following debug information...

value@https://artiss.blog/wp-content/plugins/gutenberg/editor/build/index.js?ver=1513009736:21:14422
value@https://artiss.blog/wp-content/plugins/gutenberg/editor/build/index.js?ver=1513009736:21:14191
value@https://artiss.blog/wp-content/plugins/gutenberg/editor/build/index.js?ver=1513009736:21:13207
commitLifeCycles@https://artiss.blog/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:37:430
c@https://artiss.blog/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:16:127
k@https://artiss.blog/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:19:412
Q@https://artiss.blog/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:20:356
ed@https://artiss.blog/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:24:375
enqueueSetState@https://artiss.blog/wp-content/plugins/gutenberg/vendor/react-dom.min.cc6ec027.js:52:441
setState@https://artiss.blog/wp-content/plugins/gutenberg/vendor/react.min.6b26329b.js:16:398
onStateChange@https://artiss.blog/wp-content/plugins/gutenberg/editor/build/index.js?ver=1513009736:6:83062
[native code]
notify@https://artiss.blog/wp-content/plugins/gutenberg/editor/build/index.js?ver=1513009736:11:13299
notifyNestedSubs@https://artiss.blog/wp-content/plugins/gutenberg/editor/build/index.js?ver=1513009736:11:13833
[native code]
onStateChange@https://artiss.blog/wp-content/plugins/gutenberg/editor/build/index.js?ver=1513009736:6:83088
[native code]
l@https://artiss.blog/wp-content/plugins/gutenberg/editor/build/index.js?ver=1513009736:6:84761
initializeMetaBoxes@https://artiss.blog/wp-content/plugins/gutenberg/editor/build/index.js?ver=1513009736:11:53083
https://artiss.blog/wp-admin/post-new.php:2718:84
promiseReactionJob@[native code]

This happens if I try to edit or add a post using Gutenberg each time. Only just noticed it today - edited a post on Monday with success. No updates have occurred on my site since then (plugins are manually done and I'm up-to-date with the WordPress revision).

I can disable Gutenberg for now but editing existing GB posts is going to be a pain.

@youknowriad
Copy link
Contributor

Can you please share the whole error, the actual error should be shown a bit above those snippets? Thanks

@karmatosed
Copy link
Member

After chatting to @dartiss he is using Safari. Are you also @garikaib? I ask because there are known issues with Safari - one fixed and in trunk and one due to be fixed.

@garikaib
Copy link
Author

garikaib commented Dec 13, 2017 via email

@dartiss
Copy link

dartiss commented Dec 15, 2017

Just to confirm - the recent release of GB has now fixed my issue.

@garikaib
Copy link
Author

garikaib commented Dec 15, 2017 via email

@danielbachhuber danielbachhuber added the [Status] Needs More Info Follow-up required in order to be actionable. label Jan 23, 2018
@danielbachhuber
Copy link
Member

@garikaib Are you still experiencing this issue?

@garikaib
Copy link
Author

garikaib commented Jan 24, 2018 via email

@garikaib
Copy link
Author

garikaib commented Jan 26, 2018

I am still getting the same error.

TypeError: Cannot read property 'level_1' of undefined
    at https://success.africa/wp-content/plugins/gutenberg/editor/build/index.js?ver=1516945110:11:25591
    at n (https://success.africa/wp-content/plugins/gutenberg/editor/build/index.js?ver=1516945110:6:21327)
    at o (https://success.africa/wp-content/plugins/gutenberg/editor/build/index.js?ver=1516945110:6:17053)
    at o (https://success.africa/wp-content/plugins/gutenberg/editor/build/index.js?ver=1516945110:11:25549)
    at beginWork (https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.3583f8be.js:133:398)
    at d (https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.3583f8be.js:158:393)
    at f (https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.3583f8be.js:159:214)
    at g (https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.3583f8be.js:159:462)
    at t (https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.3583f8be.js:167:3)
    at x (https://success.africa/wp-content/plugins/gutenberg/vendor/react-dom.min.3583f8be.js:166:247)

From the Console I get the following 2 errors:

load-scripts.php:9 JQMIGRATE: Migrate is installed, version 1.4.1
admin.js:64 cbGDCheck
admin.js:64 cbGDCheck
index.js:11 Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/notoserif/v6/eCpfeMZI7q4jLksXVRWPQ_k_vArhqVIZ0nv9q090hN8.woff2
backend.min.js:3 Uncaught TypeError: Cannot read property 'Constructor' of undefined
    at backend.min.js:3
    at backend.min.js:3
react-dom.min.3583f8be.js:162 TypeError: Cannot read property 'level_1' of undefined
    at index.js:11
    at n (index.js:6)
    at o (index.js:6)
    at o (index.js:11)
    at beginWork (react-dom.min.3583f8be.js:133)
    at d (react-dom.min.3583f8be.js:158)
    at f (react-dom.min.3583f8be.js:159)
    at g (react-dom.min.3583f8be.js:159)
    at t (react-dom.min.3583f8be.js:167)
    at x (react-dom.min.3583f8be.js:166)
h @ react-dom.min.3583f8be.js:162
admin.js:335 cbScoreCal

@youknowriad
Copy link
Contributor

These issues #5001 #4753 #4437 and #3747 are all related to the same error. Though we're not being able to reproduce properly yet.

I'm closing all these issues and consolidate in #4437

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Needs More Info Follow-up required in order to be actionable.
Projects
None yet
Development

No branches or pull requests

6 participants