Title: Error message in Block Template Editor
Last modified: August 18, 2026

---

# Error message in Block Template Editor

 *  [Alwyn Barry](https://wordpress.org/support/users/dramb/)
 * (@dramb)
 * [2 weeks, 3 days ago](https://wordpress.org/support/topic/error-message-in-block-template-editor/)
 * I’m getting the following warning when using the Block Template Editor:
 * Warning: Undefined array key “postId” in /var/www/html/wp-content/plugins/breadcrumb-
   navxt/includes/blocks/build/breadcrumb-trail/render.php on line 17
 * I think I’m getting it there rather than on the front end because of the debug
   settings I’ve set up on the back end. However, on the back-end Template Editor
   there will be no ‘real’ path to a post and so it may be that this is only a back-
   end problem.
 * To reproduces – use a Block Theme, edit a page Template, add the block to a header.
   Have the following settings set in your wp-config.php:
 * `define( 'WP_DEBUG', true );`
   `define( 'WP_DEBUG_LOG', true );``define( 'SCRIPT_DEBUG',
   true );``define( 'SAVEQUERIES', true );`
 * (I have these set via the WP_Debug plugin)
 * The warning is displayed in-line before the output of the breadcrumb.

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

 *  Plugin Author [John Havlik](https://wordpress.org/support/users/mtekk/)
 * (@mtekk)
 * [2 weeks, 3 days ago](https://wordpress.org/support/topic/error-message-in-block-template-editor/#post-18996833)
 * Hi Alwyn,
 * It looks like this is the same issue seen in this github issue/pull request [https://github.com/mtekk/Breadcrumb-NavXT/pull/324](https://github.com/mtekk/Breadcrumb-NavXT/pull/324).
   I’ll need to clean up the pull request’s method of solving this as it didn’t 
   fit stylistically and the pull requester didn’t update based on the review. Regardless,
   a fix will show up in a release soonish (7.5.2 is in progress).
 * -John Havlik
 *  Plugin Author [John Havlik](https://wordpress.org/support/users/mtekk/)
 * (@mtekk)
 * [4 days, 7 hours ago](https://wordpress.org/support/topic/error-message-in-block-template-editor/#post-19008003)
 * Hi Alwyn,
 * Breadcrumb NavXT 7.5.2 was released on 8/29, it should contain a fix for this
   issue. Please give it a try and let me know if it fixes your issue or not.
 * -John Havlik

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-message-in-block-template-editor%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/breadcrumb-navxt/assets/icon.svg?rev=1927103)
 * [Breadcrumb NavXT](https://wordpress.org/plugins/breadcrumb-navxt/)
 * [Support Threads](https://wordpress.org/support/plugin/breadcrumb-navxt/)
 * [Active Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/breadcrumb-navxt/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [John Havlik](https://wordpress.org/support/users/mtekk/)
 * Last activity: [4 days, 7 hours ago](https://wordpress.org/support/topic/error-message-in-block-template-editor/#post-19008003)
 * Status: not resolved