Title: Undefined index
Last modified: August 24, 2016

---

# Undefined index

 *  [Daniel Maier](https://wordpress.org/support/users/demaier/)
 * (@demaier)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-49/)
 * When visiting a URL for an attachment, i.e., [https://yourdomain.com/?attachment_id=9281](https://yourdomain.com/?attachment_id=9281)
   the following notice is being displayed on the breadcrumb area:
 * Notice: Undefined index: bpost_attachment_taxonomy_display in \yourdomain.com\
   wp-content\plugins\breadcrumb-navxt\class.bcn_breadcrumb_trail.php on line 223
 * Any tips?
 * [https://wordpress.org/plugins/breadcrumb-navxt/](https://wordpress.org/plugins/breadcrumb-navxt/)

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

 *  Plugin Author [John Havlik](https://wordpress.org/support/users/mtekk/)
 * (@mtekk)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-49/#post-6014133)
 * Is there anything special about your setup? I tried reproducing this on my site
   and my testbed and was unable to do so. For whatever reason Breadcrumb NavXT 
   is getting confused over what type of item that page is for. Looking more into
   the code, the only way I can see how this could occur is if you had an attachment
   to an attachment (the attachment’s parent is an attachment), is this the case
   in your setup?
 *  Thread Starter [Daniel Maier](https://wordpress.org/support/users/demaier/)
 * (@demaier)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-49/#post-6014139)
 * Hi John,
 * I’m not sure, you can take a look here:
    [https://cityofwinterpark.org/?attachment_id=9281](https://cityofwinterpark.org/?attachment_id=9281)
 * Thank you!
 *  Plugin Author [John Havlik](https://wordpress.org/support/users/mtekk/)
 * (@mtekk)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-49/#post-6014146)
 * After a little more digging, I was able to reproduce this. I have fixed this,
   and the fix will be in the next release (5.2.1) and is being tracked in this 
   github issue: [https://github.com/mtekk/Breadcrumb-NavXT/issues/107](https://github.com/mtekk/Breadcrumb-NavXT/issues/107)
 *  Thread Starter [Daniel Maier](https://wordpress.org/support/users/demaier/)
 * (@demaier)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-49/#post-6014147)
 * Excellent! Don’t forget to add some XSS protection fixes on your next release
   if you use any of the compromised functions.
 * “If you’re using either add_query_arg or remove_query_arg without passing in 
   the URL, it bases the URL it creates off of $_SERVER[‘REQUEST_URI’]. In that 
   process, it URL decodes the parameter names in the request URI, allowing for 
   XSS. The solution is to simply wrap the output in esc_url and you’re done. Not
   a hard fix, but it has to be done.”
 * Source: [https://yoast.com/coordinated-security-release/](https://yoast.com/coordinated-security-release/)
 *  Thread Starter [Daniel Maier](https://wordpress.org/support/users/demaier/)
 * (@demaier)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/undefined-index-49/#post-6014155)
 * Do you have an ETA on the launch of 5.2.1?
 * Thank you!
 *  Plugin Author [John Havlik](https://wordpress.org/support/users/mtekk/)
 * (@mtekk)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-index-49/#post-6014172)
 * I hope to launch it early next week, this week I have school work to contend 
   with, and I need to run some more test cases on what may become 5.2.1.
 *  Plugin Author [John Havlik](https://wordpress.org/support/users/mtekk/)
 * (@mtekk)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-index-49/#post-6014175)
 * Just an update to this, I’m punting out the release of 5.2.1, by a week, until
   the May 18.
 *  Thread Starter [Daniel Maier](https://wordpress.org/support/users/demaier/)
 * (@demaier)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-index-49/#post-6014176)
 * Thank you!
 *  Thread Starter [Daniel Maier](https://wordpress.org/support/users/demaier/)
 * (@demaier)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-index-49/#post-6014180)
 * In case you need a new URL to troubleshoot here you go:
 * [https://cityofwinterpark.org/?attachment_id=9120](https://cityofwinterpark.org/?attachment_id=9120)

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

The topic ‘Undefined index’ is closed to new replies.

 * ![](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/)

## Tags

 * [notice](https://wordpress.org/support/topic-tag/notice/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [undefined index](https://wordpress.org/support/topic-tag/undefined-index/)

 * 9 replies
 * 2 participants
 * Last reply from: [Daniel Maier](https://wordpress.org/support/users/demaier/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-index-49/#post-6014180)
 * Status: not resolved