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

Latest Posts has stopped working on v3.6.0 #9084

Closed
ghost opened this issue Aug 17, 2018 · 7 comments · Fixed by #9093
Closed

Latest Posts has stopped working on v3.6.0 #9084

ghost opened this issue Aug 17, 2018 · 7 comments · Fixed by #9093
Labels
[Feature] Blocks Overall functionality of blocks [Type] Bug An existing feature does not function as intended

Comments

@ghost
Copy link

ghost commented Aug 17, 2018

Describe the bug
Quite simply the Latest Posts does not show on the frontend/website. This appears to have presented itself immediately as upgraded to Gutenberg v 3.6.0

See https://bloom.im/blog/

To Reproduce
Steps to reproduce the behavior:

  1. Add new/Edit post
  2. Click Plus + sign to add new block
  3. Add Block +
  4. Scroll down to Widgets section, select Latest Posts
  5. Save & view the web page, nothing appears

Expected behavior
I expected the latest posts to show as they do in the Wordpress Gutenberg editor.

Screenshots
Latest posts working on backend: screen shot 2018-08-17 at 12 43 16

Desktop (please complete the following information):

  • OS: High Sierra 10.13.6 (17G65)
  • Browser: Safari
  • Version: Version 11.1.2 (13605.3.8)
@mtias mtias added the Needs Testing Needs further testing to be confirmed. label Aug 17, 2018
@mtias
Copy link
Member

mtias commented Aug 17, 2018

I cannot reproduce this. Are you using any specific settings on the block? Could you switch to the full text editor and show what the HTML comment source is?

@ghost
Copy link
Author

ghost commented Aug 17, 2018

I cannot reproduce this. Are you using any specific settings on the block? Could you switch to the full text editor and show what the HTML comment source is?

I had # of items set to 100 (max), but have since tried re-adding the block and even with defaults it does not work either. Just updated to 3.6.1 and the issue is ongoing.

The 'Code Editor' for gutenberg on the page looks like this:


<!-- wp:heading -->
<h2>👋 <a href="#mailmunch-pop-671770">Get these articles to your inbox</a></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->```

@youknowriad
Copy link
Contributor

Some people raised that Yoast might cause the dynamic blocks to not work properly. Are you using Yoast? Can you try disabling it?

@ghost
Copy link
Author

ghost commented Aug 17, 2018

Some people raised that Yoast might cause the dynamic blocks to not work properly. Are you using Yoast? Can you try disabling it?

That fixed it. Thanks. Yoast problem, or gutenberg problem, or both?

@youknowriad
Copy link
Contributor

We don't know yet :) @xyfi @omarreiss @atimmer

@youknowriad
Copy link
Contributor

It looks like when the server side registration (do_blocks, the the_content filter) is called, the content is already free from dynamic blocks, I suspect Yoast to have their own pre filter that removes those for some reason?

@youknowriad
Copy link
Contributor

Correction:

I think it's probably a Gutenberg issue, there's a filter now that strip dynamic blocks from get_the_excerpt calls but apparently when you have yoast, this filter also messes up with the_content.

Related #8984

@designsimply designsimply added [Type] Bug An existing feature does not function as intended [Feature] Blocks Overall functionality of blocks and removed Needs Testing Needs further testing to be confirmed. labels Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants