• 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

    (@mtekk)

    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. 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

    (@mtekk)

    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 to reply to this topic.