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

Error Opening Posts with Gutenberg 3.7.0 Plugin #10881

Closed
8 tasks
MikeB8s opened this issue Sep 1, 2018 · 4 comments
Closed
8 tasks

Error Opening Posts with Gutenberg 3.7.0 Plugin #10881

MikeB8s opened this issue Sep 1, 2018 · 4 comments

Comments

@MikeB8s
Copy link

MikeB8s commented Sep 1, 2018

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

After installing and activating Gutenberg plugin version 3.7.0 (31 Aug 2018), unable to open any posts. The post-edit screen displays: "The editor has encountered an unexpected error." and three buttons: Attempt Recovery, Copy Post Text, and Copy Error

Please describe what you expected to happen and why.

Open any posts.

How can we reproduce this behavior?

1.Install and activate Yoast plugin
2 Install and activate Gutenberg plugin 3.7.0.
3.Try to edit a post

Technical info

  • WordPress version: 4.9.8
  • Yoast SEO version: 8.1
  • If relevant, which editor is affected (or editors):
  • Classic Editor
  • [X ] Gutenberg
  • Classic Editor plugin
  • Which browser is affected (or browsers):
  • IE11
  • Edge
  • [X ] Chrome
  • Firefox
  • Safari
  • Relevant plugins in case of a bug:
  • Tested with theme: Twenty Seventeen and Genesis Sample
@maxxer
Copy link

maxxer commented Sep 2, 2018

Full error log:

TypeError: "wp.api is undefined"
valuehttps://web.site/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-810.min.js?ver=8.1:1:145335valuehttps://web.site/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-810.min.js?ver=8.1:1:144546jchttps://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:134:121gchttps://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:127:223vbhttps://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:126:230ubhttps://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:126:65zdhttps://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:124:449rahttps://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:123:319enqueueSetStatehttps://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:189:231setStatehttps://web.site/wp-content/plugins/gutenberg/vendor/react.min.ab6b06d4.js:18:428unsubscribehttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:64269ehttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:59091ehttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:59062dhttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:47046nhttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:60168whttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:37445_invokehttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:37235nhttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:37621ohttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:30021chttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:30223uhttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:42913Ahttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:43058shttps://web.site/wp-content/plugins/gutenberg/build/data/index.js?ver=1535734400:1:41327 react-dom.min.82e21c65.js:110:57
	bg https://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:110:57
	ig/c.callback https://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:116:178
	Jf https://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:73:98
	Kf https://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:73:408
	jc https://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:134:379
	gc https://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:127:223
	vb https://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:126:230
	ub https://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:126:65
	zd https://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:124:449
	ra https://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:123:319
	enqueueSetState https://web.site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:189:231
	q.prototype.setState https://web.site/wp-content/plugins/gutenberg/vendor/react.min.ab6b06d4.js:18:428
	value/this.unsubscribe< https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:64269
	e/</< https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:59091
	e/< https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:59062
	d https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:47046
	n/< https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:60168
	w https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:37445
	x/i._invoke</< https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:37235
	S/</t[n] https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:37621
	o https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:30021
	c https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:30223
	u https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:42913
	A/< https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:43058
	s https://web.site/wp-content/plugins/gutenberg/build/data/index.js:1:41327

@maxxer
Copy link

maxxer commented Sep 3, 2018

I don't know if this PR can be related.

@maxxer
Copy link

maxxer commented Sep 3, 2018

See #10880 and WordPress/gutenberg#9381

@abotteram
Copy link
Contributor

Thank you for reporting this issue. This error has been solved in Yoast SEO 8.1.1, please upgrade to the latest version. If this does not solve the issue, please create a new issue.

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

3 participants