Beta 2 Error: Breadcrumbs on pages causing critical error on updating of page on WordPress backend

Hey,

A very strange one here, we have several pages that have breadcrumbs on them and this is causing the WordPress backend to critical error when updating the page that has the breadcrumbs. Here is the Console Log when this happens.

When just the page is loaded:

When I hit update:

The bizarre thing is that even though it gives the critical error the page still gets updated to the changes that were made. And also this is only happening specifically to Pages and when there are breadcrumbs in Layout Pages it does not happen. ie. Product Layout pages with breadcrumbs, when updating the products this error doesn’t occur.

Cheers,
Jonathan

Thank you! I’m really grateful you were able to isolate it being the Breadcrumbs element. I was able to find the fatal error. It’s related to Yoast trying to preview all the content in the admin context, but the breadcrumb functions are only loaded on the front end. I was able to get it working for the next patch.

2 Likes

No problem at all @alexander, glad we could help!

:+1: