Support » Plugin: Gutenberg Blocks – Ultimate Addons for Gutenberg » Post Blocks – fail with some themes

  • Resolved wpweaver

    (@wpweaver)


    This is a fairly technical issue report, probably not of interest to most readers.

    The Post Grid block (and the other post blocks as well) has an issue with recursion on some themes. Specifically, Weaver Xtreme and Atahualpa, but there may be others.

    To demo this problem. Create a new post, and add a post grid block, things go wrong with the two listed themes. Doing this will make this new post show up in the grid (thus there is nesting or recursion somewhere in the loop). Normally, wp_reset_postdata(); prevents this. There doesn’t seem to be an issue in most themes, but the two listed ones just die.

    But the symptoms of the problem are that the post with the Post Grid block as described won’t save if created when using one of those themes. If you create it with another theme (a twenty-… or Astra), then switch to an affected theme, then the post won’t display on the single view. A part of the <head> is output, but then things just quit. Don’t know where the break happens, and there are no WP_DEBUG messages produced.

    I’ve spent several hours trying to figure out what my theme, Weaver Xtreme, is doing differently than most themes, but can’t find it. Spent some time tracing on Atahualpa as well, no luck. The fact that even trying to save the post causes an issue is most puzzling since I would think that part is theme independent.

    Now this situation is obviously somewhat odd – using a post grid block in a post is probably uncommon. And I’ve only found two themes so far that create the problem.

    Since you know just how your Post blocks work, you might be able to figure this out.

    By the way, I’ve tested some other show Posts blocks on other block addon plugins, and some of them have the same issue as yours, but some others work just fine with the two listed themes.

    But I’m working on a review of block plugins I will be publishing soon, and yours is at the top of my list at the moment – except for this one issue. Really very nice work, nice interface, and pretty implementations. (Do wish your Post blocks had a show by title option – sometimes you just want to show a single post embedded into a page).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Vrunda Kansara

    (@vrundakansara-1)

    Hey,

    Thank you for reaching us out.

    I have reported this to our team, they will very soon have a look at it.

    We appreciate your efforts to add such a detailed description of the issue. If need be our team will get back to you for inputs. I will keep you posted once we find the fix.

    Regards,
    Vrunda Kansara

    Hey,

    Can you open up a ticket by submitting the form on this page for a quicker response – https://www.ultimategutenberg.com/support/

    Regards,
    Prajakta.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.