Breadcrumb schema bug
-
I was getting this error from Yoast generated schema: https://i.imgur.com/G61ptoC.png
It is the same error this user was concerned with: https://ww.wp.xz.cn/support/topic/filter-to-disable-yoast-breadcrumb-schema-output-not-working-properly/
That thread references a git thread: https://github.com/Yoast/wordpress-seo/issues/16711 which was closed.
Why it was closed I am not sure given that the error persists today (the screenshot was taken 5 minutes ago).
However, the code the person posted in there does seem to fix it:
add_filter( 'wpseo_schema_webpage', 'remove_breadcrumb_schema_ref', 10, 1); function remove_breadcrumb_schema_ref( $piece ){ unset( $piece['breadcrumb'] ); return $piece; }So just letting you know there is still a bug of some sort in your plugin.
The topic ‘Breadcrumb schema bug’ is closed to new replies.