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

Check compatibility with Gantry 5 themes #49

Open
pplopx opened this issue May 17, 2021 · 0 comments
Open

Check compatibility with Gantry 5 themes #49

pplopx opened this issue May 17, 2021 · 0 comments

Comments

@pplopx
Copy link

pplopx commented May 17, 2021

I'm working with the Gantry 5 framework for WordPress, which uses Timber in its core to render Twig templates.

I have installed the Timber ACF WP Blocks library as a WP plugin. And I followed the demo example you have in the documentation. It seems to work as the block is detected by the ACF selector when creating the field group.

However, after inserting the block with the WP editor, the block is displayed erratically, it is impossible to write in the fields and a JSON error occurs in the post autosave. After saving the post, I get this error in the public part of the website when accessing that page, which disappears when I delete the block.

There seems to be a lot of debugging information in that bug, but I am unable to understand it, can you take a look? Maybe the guys at Gantry can help.

I've tried several methods to work with Gutenberg blocks in Timber + Gantry and this way is the easiest, but I'm frustrated that it's not running smoothly. Thanks for your time!

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

1 participant