Skip to content
/ gutenberg Public
  • Notifications
  • Fork 3.9k
  • Star 9.9k
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.

Sign up for GitHub

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

Already on GitHub? Sign in to your account

Jump to bottom

The editor has encountered an unexpected error (Invariant Violation: Minified React error #130) #9909

Closed
JohnBhatt opened this issue Sep 14, 2018 · 9 comments
Closed

The editor has encountered an unexpected error (Invariant Violation: Minified React error #130) #9909

JohnBhatt opened this issue Sep 14, 2018 · 9 comments
Labels
Needs Testing Needs further testing to be confirmed. [Status] Needs More Info Follow-up required in order to be actionable.

Comments

@JohnBhatt
Copy link

JohnBhatt commented Sep 14, 2018

After I updated the Gutenberg to latest version (3.8.0), i am not able to edit any existing post or add any new post using Gutenberg Editor. The Error message is below.

Invariant Violation: Minified React error #130; visit https://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 Sg (https://www.pyarb.com/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:7:14080)
    at m (https://www.pyarb.com/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:1:388)
    at ed (https://www.pyarb.com/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:4:11859)
    at https://www.pyarb.com/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:4:23269
    at rd (https://www.pyarb.com/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:5:1021)
    at O (https://www.pyarb.com/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:5:956)
    at yh (https://www.pyarb.com/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:5:7721)
    at lg (https://www.pyarb.com/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:7:2629)
    at mg (https://www.pyarb.com/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:7:2927)
    at gc (https://www.pyarb.com/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:7:6310)

Expected behavior
The new update should not behave like it is newly installed. First it make me to skip or view the feature guide. Which was already clicked skipped. Then the Post in draft open and when I clicked in the body section for editing, it goes unresponsive with below screen and now even for the new post it is showing same screen.

Screenshots
image

Desktop (please complete the following information):

  • OS: [Windows 10 Pro 1803]
  • Browser [Version 71.0.3551.3 (Official Build) canary (64-bit)]
  • Version [71.0.3551.3]

Additional context

  • Please add the version of Gutenberg you are using in the description.
  • To report a security issue, please visit the WordPress HackerOne program: https://hackerone.com/wordpress.

With the continuous compatibility issues with other plugins and themes, and frequent issues, it is very hard to replace the classic editor. Please fix this asap.

@designsimply designsimply added the Needs Testing Needs further testing to be confirmed. label Sep 17, 2018
@designsimply
Copy link
Member

designsimply commented Sep 17, 2018

Thanks for reporting this. I'm adding the Needs Testing label and also noting the more specific error message referenced in your post:

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.

Source: https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]=

The editor has encountered an unexpected error.

Source: the screenshot.

@dshakya
Copy link

dshakya commented Sep 18, 2018

Got the same error on updating Gurenberg. Running dev environment using WAMP with latest WordPress.

@AshiqKiron
Copy link

AshiqKiron commented Sep 18, 2018

I'd appreciate if Gutenberg can spit out "detailed & specific" error instead of generic error text

@klihelp
Copy link

klihelp commented Sep 23, 2018

Same error

@patrickmj
Copy link

patrickmj commented Jan 3, 2019

Additional info: React's site for the error says

In the minified production build of React, we avoid sending down full error messages in order to reduce the number of bytes sent over the wire.

We highly recommend using the development build locally when debugging your app since it tracks additional debug info and provides helpful warnings about potential problems in your apps, but if you encounter an exception while using the production build, this page will reassemble the original text of the error.

And the js console says

or use the non-minified dev environment for full errors and additional helpful warnings. 

Any way to tell my WP development site to use the non-minified version?

@aduth
Copy link
Member

aduth commented Mar 29, 2019

Any way to tell my WP development site to use the non-minified version?

It can be done including a SCRIPT_DEBUG constant in your site's wp-config.php file:

https://codex.wordpress.org/Debugging_in_WordPress#SCRIPT_DEBUG

To the issue at hand: The non-minified error would provide more helpful debugging information. In the meantime, I've often seen that clearing your browser's localStorage can resolve some of these issues. This can be done either in your browser's "Clear History", or by entering the command localStorage.clear() in the browser's console.

@iandunn
Copy link
Member

iandunn commented Apr 12, 2019

It can be done including a SCRIPT_DEBUG constant in your site's wp-config.php file

That worked for me, thanks!

It's worth nothing that there's currently a bug which makes it difficult to leave enabled:

#7897 / #11360

@aduth
Copy link
Member

aduth commented Apr 16, 2019

This issue is not actionable in its current form.

It would need to include one or other of:

  • Reliable steps to reproduce
  • A detailed error log from the unminified script

Is this still an issue for those reporting to have been affected? The screenshot symptom can be attributed to any number of possible error reasons. I'm particularly curious about this specific error message which traces back to :

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.

@aduth aduth added the [Status] Needs More Info Follow-up required in order to be actionable. label Apr 16, 2019
@aduth
Copy link
Member

aduth commented Apr 22, 2019

Closing as non-actionable. The issue can be reopened if additional information is provided.

@aduth aduth closed this as completed Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Testing Needs further testing to be confirmed. [Status] Needs More Info Follow-up required in order to be actionable.
Projects
None yet
Development

No branches or pull requests

8 participants
@patrickmj @iandunn @designsimply @aduth @klihelp @dshakya @AshiqKiron @JohnBhatt

Footer

© 2024 GitHub, Inc.

两个鬼故事吉名100分起名网麻辣烫起名太阁立志传5商人餐饮起名商标注册今天有nba直播吗五行属木的男孩起名字游戏起个名字键盘打不出字怎么回事给宝宝起宝宝小名乳名大全男孩男孩起名字大全免费女孩用哪个浠字起名寓意好不漫步云深处新生儿起名2021三个字什么品牌起名河北电视台网络直播绝味鸭脖总部为烘焙店起名复仇者名字给男宝宝起名字龙互联网公司起名价格元宵灯会堕落之王本港台直播嘻哈游记渭城中学维和步兵营免费观看photoshop制作海报闽c送给宝宝起名姓杨女儿起个洋气的小名少年生前被连续抽血16次?多部门介入两大学生合买彩票中奖一人不认账让美丽中国“从细节出发”淀粉肠小王子日销售额涨超10倍高中生被打伤下体休学 邯郸通报单亲妈妈陷入热恋 14岁儿子报警何赛飞追着代拍打雅江山火三名扑火人员牺牲系谣言张家界的山上“长”满了韩国人?男孩8年未见母亲被告知被遗忘中国拥有亿元资产的家庭达13.3万户19岁小伙救下5人后溺亡 多方发声315晚会后胖东来又人满为患了张立群任西安交通大学校长“重生之我在北大当嫡校长”男子被猫抓伤后确诊“猫抓病”测试车高速逃费 小米:已补缴周杰伦一审败诉网易网友洛杉矶偶遇贾玲今日春分倪萍分享减重40斤方法七年后宇文玥被薅头发捞上岸许家印被限制高消费萧美琴窜访捷克 外交部回应联合利华开始重组专访95后高颜值猪保姆胖东来员工每周单休无小长假男子被流浪猫绊倒 投喂者赔24万小米汽车超级工厂正式揭幕黑马情侣提车了西双版纳热带植物园回应蜉蝣大爆发当地回应沈阳致3死车祸车主疑毒驾恒大被罚41.75亿到底怎么缴妈妈回应孩子在校撞护栏坠楼外国人感慨凌晨的中国很安全杨倩无缘巴黎奥运校方回应护栏损坏小学生课间坠楼房客欠租失踪 房东直发愁专家建议不必谈骨泥色变王树国卸任西安交大校长 师生送别手机成瘾是影响睡眠质量重要因素国产伟哥去年销售近13亿阿根廷将发行1万与2万面值的纸币兔狲“狲大娘”因病死亡遭遇山火的松茸之乡“开封王婆”爆火:促成四五十对奥巴马现身唐宁街 黑色着装引猜测考生莫言也上北大硕士复试名单了德国打算提及普京时仅用姓名天水麻辣烫把捣辣椒大爷累坏了

两个鬼故事 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化