Skip to content
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

Can't update post and fatal error with "Post" block #1

Closed
MarieComet opened this issue Mar 19, 2018 · 1 comment
Closed

Can't update post and fatal error with "Post" block #1

MarieComet opened this issue Mar 19, 2018 · 1 comment

Comments

@MarieComet
Copy link

WP 4.9.4 multisite
Gutenberg 2.4.0
Custom theme

When using "Post" block there is a notice in admin : "Mise à jour échouée" and post do not update.
Console log :
Block "gutenblocks/products" is not registered. Block "gutenblocks/addtocart" is not registered. Block "gutenblocks/products" is not registered. Block "gutenblocks/addtocart" is not registered.

And in front, when loading the same post after update failed :
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7 bytes) ...

If I remove the "Post" block everything is fine.

maximebj added a commit that referenced this issue Mar 19, 2018
@maximebj
Copy link
Owner

Okay I have fixed a naming error for that.

About the memory errors : it occurs when you didn't set a real excerpt in the inspector. It seems like Gutenberg consume a lot of ressources when parsing the main content to get an excerpt

The issue is open on the official Repository here : WordPress/gutenberg#5572

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants