It works for me now on a couple sites I’ve tried it on.
@thorben Still get the same error when changing:
$remove_path = '/wp/v2/posts/' . get_the_ID() . '?context=edit';
to:
$remove_path = '/wp/v2/pages/' . get_the_ID() . '?context=edit';
The quick fix code doesn’t seem to work, I still have the same problem.
I’m having the same issue. It’s across several sites using different versions of php and themes.
Seems to just be affecting blocks and the gutenberg editor and not flexible fields.