• After updating to version 6.0.3, wordpress shows me a notice on attachment related pages:

    Notice: Undefined index: apost_attachment_root in /var/www/wordpress/wp-content/plugins/breadcrumb-navxt/class.bcn_breadcrumb_trail.php on line 1070

    Any clue on how to fix this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author John Havlik

    (@mtekk)

    Thanks for reporting this. Can you provide more information regarding the page where you see this? I would like to reproduce this locally. However, as far as I am aware, attachments should not show up in an archive.

    Thread Starter old9

    (@old9)

    Thanks for your response, it’s a local server so I’m afraid I can’t share the public accessible URL.

    It’s shown on the list page of attachments, as well as the single attachment page.

    I setup my wordpress to be able to assign categories to attachments,AFAIK this kind of usage is not restricted by wordpress and is totally valid, since an attachment is just another type of post in wordpress.

    Plugin Author John Havlik

    (@mtekk)

    I’m going to try to reproduce this tomorrow. I have an idea of how I’m going to ‘fix’ this, and will report back my findings.

    Plugin Author John Havlik

    (@mtekk)

    I was able to reproduce this for the archive pages, I had to register the category taxonomy for the attachment post type, and I had to enable display of attachments in archives. Both of these are not things WordPress does by default. I have a fix implemented in the master branch on github: https://github.com/mtekk/Breadcrumb-NavXT/ I plan on releasing this a 6.0.4 in the next few days. However, I would appreciate if you could try it and report back whether or not it solves the issue for you.

    Thread Starter old9

    (@old9)

    Thanks, I tried the current master branch and no more warnings now. ??

    Plugin Author John Havlik

    (@mtekk)

    Thanks for testing the fix and reporting back. 6.0.4 will likely be released tomorrow evening.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Got a waring on update’ is closed to new replies.