I do not use breadcrumbs on this site and do not have them enabled in the Yoast settings.
After the latest update, the error log on my site is full of the following notice:
Notice: Trying to access array offset on value of type null in /home/site/public_html/wp-content/plugins/wordpress-seo/src/generators/schema/breadcrumb.php on line 99
This is triggered only when I visit a numbered blog page (i.e. /blog/page/2/) but not the main blog page or any other pages or posts. On these numbered blog pages, I see the yoast-schema-graph script in the site’s head, but I do not see this on other pages.
Is there anything I can do on my end to prevent the schema script from being unnecessarily inserted on these pages?
- The topic ‘Schema Notice in error log while not using breadcrumbs’ is closed to new replies.