Title: Posts block, preview error
Last modified: December 5, 2020

---

# Posts block, preview error

 *  Resolved [philw123](https://wordpress.org/support/users/philw123/)
 * (@philw123)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/posts-block-preview-error/)
 * Hi there,
 * I’ve encountered a potential bug with the posts block in Otter. I can’t provide
   a link to the page as we are in pre-production and not live.
 * If I include more than one posts block on a single page, the block editor only
   renders the first posts block, subsequent posts blocks display te error _This
   block has encountered an error and cannot be previewed._
 * The page previews and publishes without error.
 * I’m no WordPress expert, but I’ve included the console output below:
 * `react-dom.min.js?ver=16.9.0:103
    TypeError: Cannot read property ‘name’ of undefined
   at blocks.js?ver=1.5.10:1 at Array.map (<anonymous>) at Z (blocks.js?ver=1.5.10:
   1) at je (react-dom.min.js?ver=16.9.0:78) at ph (react-dom.min.js?ver=16.9.0:
   215) at lh (react-dom.min.js?ver=16.9.0:126) at O (react-dom.min.js?ver=16.9.0:
   121) at ze (react-dom.min.js?ver=16.9.0:118) at react-dom.min.js?ver=16.9.0:53
   at unstable_runWithPriority (react.min.js?ver=16.9.0:26)
 * [DOM] Found 2 elements with non-unique id #_wpnonce: (More info: [https://goo.gl/9p2vKq](https://goo.gl/9p2vKq))
   
   <input type=​”hidden” id=​”_wpnonce” name=​”_wpnonce” value=​”21333e4db8″> ​<
   input type=”hidden” id=”_wpnonce” name=”_wpnonce” value=”3135642fab”>

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/posts-block-preview-error/#post-13753013)
 * Hey [@philw123](https://wordpress.org/support/users/philw123/),
 * We tried on our end and it worked just fine. Can you let us know which plugins
   and theme are active in your website so we could reproduce with them too?
 * thank you!
 *  Thread Starter [philw123](https://wordpress.org/support/users/philw123/)
 * (@philw123)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/posts-block-preview-error/#post-13753547)
 * Hi Hardeep, thanks for the quick response. I’m running a Neve child theme with
   no modifications. I have tried temporarily switching back to the Neve theme but
   that didn’t fix it.
 * Below is a list of installed plugins. I have also deactivated them all at the
   same time (except Otter blocks) but that did not change the outcome. I’m going
   to take a copy of the site and start deleting stuff and see what happens.
 * [https://en-gb.wordpress.org/plugins/add-to-any/](https://en-gb.wordpress.org/plugins/add-to-any/)
   
   [https://en-gb.wordpress.org/plugins/advanced-gutenberg-blocks/](https://en-gb.wordpress.org/plugins/advanced-gutenberg-blocks/)
   [https://en-gb.wordpress.org/plugins/contact-form-7/](https://en-gb.wordpress.org/plugins/contact-form-7/)
   [https://en-gb.wordpress.org/plugins/free-images/](https://en-gb.wordpress.org/plugins/free-images/)
   [https://en-gb.wordpress.org/plugins/otter-blocks/](https://en-gb.wordpress.org/plugins/otter-blocks/)
   [https://en-gb.wordpress.org/plugins/hummingbird-performance/](https://en-gb.wordpress.org/plugins/hummingbird-performance/)
   [https://en-gb.wordpress.org/plugins/optimole-wp/](https://en-gb.wordpress.org/plugins/optimole-wp/)
   [https://en-gb.wordpress.org/plugins/mailchimp-for-wp/](https://en-gb.wordpress.org/plugins/mailchimp-for-wp/)
   [https://en-gb.wordpress.org/plugins/wonderm00ns-simple-facebook-open-graph-tags/](https://en-gb.wordpress.org/plugins/wonderm00ns-simple-facebook-open-graph-tags/)
   [https://en-gb.wordpress.org/plugins/themeisle-companion/](https://en-gb.wordpress.org/plugins/themeisle-companion/)
   [https://en-gb.wordpress.org/plugins/password-protected/](https://en-gb.wordpress.org/plugins/password-protected/)
   [https://en-gb.wordpress.org/plugins/wp-pexels-free-stock-photos/](https://en-gb.wordpress.org/plugins/wp-pexels-free-stock-photos/)
   [https://en-gb.wordpress.org/plugins/popup-maker/](https://en-gb.wordpress.org/plugins/popup-maker/)
   [https://en-gb.wordpress.org/plugins/post-thumbnail-editor/](https://en-gb.wordpress.org/plugins/post-thumbnail-editor/)
   [https://en-gb.wordpress.org/plugins/redirection/](https://en-gb.wordpress.org/plugins/redirection/)
   [https://en-gb.wordpress.org/plugins/zero-spam/](https://en-gb.wordpress.org/plugins/zero-spam/)
   [https://en-gb.wordpress.org/plugins/wp-mail-smtp/](https://en-gb.wordpress.org/plugins/wp-mail-smtp/)
 *  Thread Starter [philw123](https://wordpress.org/support/users/philw123/)
 * (@philw123)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/posts-block-preview-error/#post-13753608)
 * Further to my last post I have narrowed down the problem. It only appears to 
   happen if I select the same specific category on all of the posts blocks. If 
   I leave the category setting as ‘All’ the problem does not occur.
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/posts-block-preview-error/#post-13762678)
 * Hey [@philw123](https://wordpress.org/support/users/philw123/),
 * We tried to reproduce it and couldn’t do it. If we give you a demo WordPress 
   instance, would you be able to reproduce it for us? Let us know. 🙂
 *  Thread Starter [philw123](https://wordpress.org/support/users/philw123/)
 * (@philw123)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/posts-block-preview-error/#post-13763749)
 * Happy to give it a go, yes.
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/posts-block-preview-error/#post-13768781)
 * Great! Can you reach out to us at [friends@themeisle.com](https://wordpress.org/support/topic/posts-block-preview-error/friends@themeisle.com?output_format=md)?–
   make sure to mention my name in the email with a link to this thread, and notify
   me here once you’ve sent the email.
 * I’m not allowed to share any credentials with you for testing on this forum as
   per WordPress.org forum guidelines so we will have to do that outside the forum.
 *  Thread Starter [philw123](https://wordpress.org/support/users/philw123/)
 * (@philw123)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/posts-block-preview-error/#post-13770037)
 * That’s great Hardeep. I’ve sent an email. I’ll mark this thread as resolved.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Posts block, preview error’ is closed to new replies.

 * ![](https://ps.w.org/otter-blocks/assets/icon-256x256.gif?rev=3452114)
 * [Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE](https://wordpress.org/plugins/otter-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/otter-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/otter-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/otter-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/otter-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/otter-blocks/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [philw123](https://wordpress.org/support/users/philw123/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/posts-block-preview-error/#post-13770037)
 * Status: resolved