-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'body-count' when opening a page with WagtailFormBlock in streamfields #214
Comments
Does anybody has an idea to fix this problem? |
having the same issue looking for solution. |
For me re-starting the server fix the solution. |
We've been getting this error in our project occasionally as well. It seems to happen when the server has been on for more than a day or two, and goes away on restart. When it happens, the admin edit page loads fine, except our custom Modelclass ExhibitPage(HeadlessMixin, Page): LogsHere is a recent stacktrace, in case someone finds it helpful!
|
I am encountering a KeyError: 'body-count' error when trying to open a page for editing in Wagtail that includes a WagtailFormBlock in the streamfields.
Steps to reproduce:
Create a page with a WagtailFormBlock in the streamfields
You should not be able to see the body cause it should be buggy cause the WagtailFormBlock
Actual behavior:
Encountering a KeyError: 'body-count' error when attempting to open the page for editing.
Environment:
Used page class:
Console error:
Please let me know if there is any further information I can provide to help troubleshoot this issue.
Thanks for help in advance.
The text was updated successfully, but these errors were encountered: