• I can see too many notices on the front side like below.

    Notice: Undefined property: stdClass::$name in /nas/content/live/xxxxxx/wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php on line 391
    
    Notice: Undefined property: stdClass::$name in /nas/content/live/xxxxxx/wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php on line 392
    
    Notice: Undefined property: stdClass::$labels in /nas/content/live/xxxxxx/wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php on line 394
    
    Notice: Trying to get property 'singular_name' of non-object in /nas/content/live/xxxxxx/wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php on line 394
    
    Notice: Undefined property: stdClass::$name in /nas/content/live/xxxxxx/wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php on line 395
    
    Notice: Undefined property: stdClass::$name in /nas/content/live/xxxxxx/wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php on line 396
    
    Notice: Undefined property: stdClass::$labels in /nas/content/live/xxxxxx/wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php on line 398
    
    Notice: Trying to get property 'singular_name' of non-object in /nas/content/live/xxxxxx/wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php on line 398
    
    Notice: Undefined property: stdClass::$name in /nas/content/live/xxxxxx/wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php on line 400
    
    Notice: Undefined property: stdClass::$name in /nas/content/live/xxxxxx/wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php on line 404

    I have started to face the issue after updating the WP Version to 6.0.1.

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

    (@mtekk)

    What version of Breadcrumb NavXT are you using, and what version of WordPress did you upgrade from?

    Assuming you’re using Breadcrumb NavXT 7.x (7.0.x or 7.1), it looks like you have a custom post type that isn’t registered properly (missing the name property, and several of the labels properties). As to why this is the case, and why moving the WordPress 6.0.1 presented the issue, I’m not exactly sure. I’m going to add checks in this code for the next release (tracking via the following GitHub issue https://github.com/mtekk/Breadcrumb-NavXT/issues/280). That said, it sounds like something else (assuming this is a custom post type causing it) is not obeying the WP API for post types, so you may have to do some troubleshooting to figure out what post type is causing the root problem (invalid entries in the wp_post_types global array, if you do a var_dump on that global and link to the output (since posting it directly in this thread will get messy) I can help identify what entries may be causing the issue).

    Thread Starter Umang Bhanvadia

    (@umang7)

    Thanks for your feedback, I will check into the wp_post_types array.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Too many Notices on the front-end in version 6.0.1’ is closed to new replies.