New problem 16.2 – breadcrumb Item name/url not specified for singular pages
-
Suddenly all my single/singular pages shows an error in breadcrumb snippet. It started after I updated wpseo to 16.2
I see in your changelog: “Fixes a bug where the current webpage would not always be referenced correctly in the breadcrumb schema outpu.”, maybe it is related
I use your filters to modify default behavior and it may be a reason but (1) I never use any brutal hacks, just documented filters. (2) It worked for years. (3) I get no warnings. (4) I disabled all my modifications and the problem persists. (5) I see missing data is available in context, but it is not used.
Below is a dump from wpseo_schema_breadcrumb filter. As you can see, last item is incomplete for some reason:
Array ( [@type] => BreadcrumbList [@id] => https://kobietamag.pl/cocktail-me-na-czerwonym-dywanie/#breadcrumb [itemListElement] => Array ( [0] => Array ( [@type] => ListItem [position] => 1 [item] => Array ( [@type] => WebPage [@id] => https://kobietamag.pl/ [url] => https://kobietamag.pl/ [name] => Strona główna ) ) [1] => Array ( [@type] => ListItem [position] => 2 [item] => Array ( [@type] => WebPage [@id] => https://kobietamag.pl/moda/ [url] => https://kobietamag.pl/moda/ [name] => Moda ) ) [2] => Array ( [@type] => ListItem [position] => 3 [item] => Array ( [@type] => WebPage [@id] => https://kobietamag.pl/moda/bizuteria-kolekcje/ [url] => https://kobietamag.pl/moda/bizuteria-kolekcje/ [name] => Biżuteria ) ) [3] => Array ( [@type] => ListItem [position] => 4 [item] => Array ( [@id] => https://kobietamag.pl/cocktail-me-na-czerwonym-dywanie/#webpage ) ) ) ) , Yoast\WP\SEO\Context\Meta_Tags_Context Object ( [indexable] => Yoast\WP\SEO\Models\Indexable Object ( [id] => 15803 [permalink] => https://kobietamag.pl/cocktail-me-na-czerwonym-dywanie/ [permalink_hash] => 55:37ddd7112010d0c45d06c8fcbcc1f1f3 [object_id] => 46305 [object_type] => post [object_sub_type] => post [author_id] => 14 [post_parent] => 0 [title] => Cocktail' me na czerwonym dywanie [description] => Przepych, blask i mocne akcenty – to główne elementy hollywoodzkich stylizacji. Istotną rolę odgrywają kolory. To właśnie na jednolitych taflach materiałów biżuteria, która jest niezbędnym elementem trendu, prezentuje się najlepiej. Oto kod kolorów prosto z czerwonego dywanu. [breadcrumb_title] => Cocktail’ me na czerwonym dywanie [post_status] => publish [is_public] => [is_protected] => 0 [has_public_posts] => [number_of_pages] => [canonical] => [primary_focus_keyword] => [primary_focus_keyword_score] => [readability_score] => 0 [is_cornerstone] => 0 [is_robots_noindex] => [is_robots_nofollow] => 0 [is_robots_noarchive] => [is_robots_noimageindex] => [is_robots_nosnippet] => [twitter_title] => [twitter_image] => https://kobietamag.pl/wp-content/uploads/2012/02/Cocktaime-na-czerwonym-dywanie.jpg [twitter_description] => [twitter_image_id] => 46327 [twitter_image_source] => featured-image [open_graph_title] => [open_graph_description] => [open_graph_image] => https://kobietamag.pl/wp-content/uploads/2012/02/Cocktaime-na-czerwonym-dywanie.jpg [open_graph_image_id] => 46327 [open_graph_image_source] => featured-image [open_graph_image_meta] => {"width":1920,"height":960,"url":"https:\/\/kobietamag.pl\/wp-content\/uploads\/2012\/02\/Cocktaime-na-czerwonym-dywanie.jpg","path":"\/home\/kmag\/domains\/kobietamag.pl\/public_html\/wp-content\/uploads\/2012\/02\/Cocktaime-na-czerwonym-dywanie.jpg","size":"full","id":46327,"alt":"Cocktai'me na czerwonym dywanie","pixels":1843200,"type":"image\/jpeg"} [link_count] => [incoming_link_count] => 0 [prominent_words_version] => [created_at] => 2020-05-17 00:01:05 [updated_at] => 2021-05-17 08:37:31 [blog_id] => 1 [language] => [region] => [schema_page_type] => [schema_article_type] => [has_ancestors] => 1 [estimated_reading_time_minutes] => ) [presentation] => Yoast\WP\SEO\Presentations\Indexable_Post_Type_Presentation Object ( [model] => Yoast\WP\SEO\Models\Indexable Object ( [id] => 15803 [permalink] => https://kobietamag.pl/cocktail-me-na-czerwonym-dywanie/ [permalink_hash] => 55:37ddd7112010d0c45d06c8fcbcc1f1f3 [object_id] => 46305 [object_type] => post [object_sub_type] => post [author_id] => 14 [post_parent] => 0 [title] => Cocktail' me na czerwonym dywanie [description] => Przepych, blask i mocne akcenty – to główne elementy hollywoodzkich stylizacji. Istotną rolę odgrywają kolory. To właśnie na jednolitych taflach materiałów biżuteria, która jest niezbędnym elementem trendu, prezentuje się najlepiej. Oto kod kolorów prosto z czerwonego dywanu. [breadcrumb_title] => Cocktail’ me na czerwonym dywanie [post_status] => publish [is_public] => [is_protected] => 0 [has_public_posts] => [number_of_pages] => [canonical] => [primary_focus_keyword] => [primary_focus_keyword_score] => [readability_score] => 0 [is_cornerstone] => 0 [is_robots_noindex] => [is_robots_nofollow] => 0 [is_robots_noarchive] => [is_robots_noimageindex] => [is_robots_nosnippet] => [twitter_title] => [twitter_image] => https://kobietamag.pl/wp-content/uploads/2012/02/Cocktaime-na-czerwonym-dywanie.jpg [twitter_description] => [twitter_image_id] => 46327 [twitter_image_source] => featured-image [open_graph_title] => [open_graph_description] => [open_graph_image] => https://kobietamag.pl/wp-content/uploads/2012/02/Cocktaime-na-czerwonym-dywanie.jpg [open_graph_image_id] => 46327 [open_graph_image_source] => featured-image [open_graph_image_meta] => {"width":1920,"height":960,"url":"https:\/\/kobietamag.pl\/wp-content\/uploads\/2012\/02\/Cocktaime-na-czerwonym-dywanie.jpg","path":"\/home\/kmag\/domains\/kobietamag.pl\/public_html\/wp-content\/uploads\/2012\/02\/Cocktaime-na-czerwonym-dywanie.jpg","size":"full","id":46327,"alt":"Cocktai'me na czerwonym dywanie","pixels":1843200,"type":"image\/jpeg"} [link_count] => [incoming_link_count] => 0 [prominent_words_version] => [created_at] => 2020-05-17 00:01:05 [updated_at] => 2021-05-17 08:37:31 [blog_id] => 1 [language] => [region] => [schema_page_type] => [schema_article_type] => [has_ancestors] => 1 [estimated_reading_time_minutes] => ) [context] => Yoast\WP\SEO\Context\Meta_Tags_Context Object *RECURSION* ) )
- The topic ‘New problem 16.2 – breadcrumb Item name/url not specified for singular pages’ is closed to new replies.