-
Gerrit
Hi generators.
I get the error message “This block has encountered an error and cannot be previewed.” when I try to insert dynamic data from an ACF options page into a GenerateBlocks-Block. More specificly the message appears as soon as I click into the “META KEY” drop down field. No errors from other ACF sources.
Temporary Screenshots
(no caching, all plugins deactivated)
-
Hi there,
Option is not a valid dynamic tag, are you trying to pull data from ACF options page?
-
Gerrit
Hi there.
Yes, I try to pull data from an ACF options page and “Option” in the drop down seemed to be the right fit.
-
Alvind
Hi there,
You need to specify the option key as well for it to work.
-
Gerrit
Hi Alvin, like I wrote: as soon as I select the “META KEY” drop down field, the block breakes. Error message in attached screenshot.
-
Alvind
Sorry, I missed the part where you mentioned that. I can’t replicate the error on my end.
If you try editing the tag directly like this:
{{option key:option_field_name}}
, does it work? -
Gerrit
Thx Alvind, this actually works. Just if I try to access the meta key dropdown. Maybe something got screwed up when i exported from my local staging to the current server. I’ll work on it like this for now and see.
-
Alvind
Glad to hear that! 🙂
- You must be logged in to reply to this topic.