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

Classic Editor breaks - WP 4.9.6+Gutenberg+Yoast #6809

Closed
maddisondesigns opened this issue May 18, 2018 · 6 comments · Fixed by #6848
Closed

Classic Editor breaks - WP 4.9.6+Gutenberg+Yoast #6809

maddisondesigns opened this issue May 18, 2018 · 6 comments · Fixed by #6848
Labels
[Status] Needs More Info Follow-up required in order to be actionable.

Comments

@maddisondesigns
Copy link

Describe the bug
I just updated one of my sites in my dev environment to WP 4.9.6 and the Classic Editor no longer shows the toolbars, or loads any content.

To narrow down the issue I deactivated all plugins except for Gutenberg and switched my theme to TwentySeventeen.

It seems to be an issue with Yoast. Disabling all plugins except for Gutenberg and it works fine.
As soon as I activate Yoast, the content and TinyMCE no longer load.

The console shows the following error:

Loading failed for the <script> with source “http://dev.maddisondesigns.com/wp-content/plugins/gutenberg/vendor/themes/modern/theme.min.js?wp-mce-4711-20180425”.

To Reproduce
Steps to reproduce the behavior:

  1. Activate Yoast SEO
  2. Update WP to 4.9.6
  3. Try to create a new Post using the Classic Editor

Expected behavior
The TinyMCE Editor should load properly with all the toolbars and the content should load

Screenshots
gutenberg_tinymcenotworking

screenshot_659

macOS Sierra 10.12.1 (16B2659)
Firefox Quantum 60.0 (64-bit)

WordPress 4.9.6
Gutenberg 2.8.0
Yoast SEO 7.5.1

@bobbingwide
Copy link
Contributor

bobbingwide commented May 18, 2018

Related #4678 ?

@maddisondesigns
Copy link
Author

@bobbingwide looks like a different issue to me

@danielbachhuber
Copy link
Member

I'm not able to reproduce this issue locally against trunk and Gutenberg 2.9. Can you do a bit more debugging to see if you can pull up more details?

@danielbachhuber danielbachhuber added the [Status] Needs More Info Follow-up required in order to be actionable. label May 18, 2018
@maddisondesigns
Copy link
Author

It's looking for a file that doesn't exist. It's looking for theme.min.js in the wp-content/plugins/gutenberg/vendor/themes/modern/ folder but there are no sub-folders under the vendor folder, within the Gutenberg plugin.

If I view the page source I can see a JavaScript reference to the TinyMCE Modern theme and considering part of the url above is looking for the /vendor/themes/modern/folder, I'm pretty confident in saying that it's related.

screenshot_662

In WP Core there's a wp-includes/js/tinymce/themes/modern/theme.min.js file. Gutenberg is looking for that same file in the plugin folder but it's not there.

Lastly, there's a couple of ACF fields on the page, but the issue occurs even when ACF is deactivated, so it's obviously nothing to do with ACF.

@maddisondesigns
Copy link
Author

Have also updated to Gutenberg 2.9.0 and the same issue occurs

@danielbachhuber
Copy link
Member

Related #6847

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

Successfully merging a pull request may close this issue.

3 participants