Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Error in GBlocks accessing dynamic data from ACF options page

  • 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
    Meta Key drop down
    Error Message

    (no caching, all plugins deactivated)

  • Hi there,

    Option is not a valid dynamic tag, are you trying to pull data from ACF options page?

  • 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.

  • Hi there,

    You need to specify the option key as well for it to work.

  • Hi Alvin, like I wrote: as soon as I select the “META KEY” drop down field, the block breakes. Error message in attached screenshot.

  • 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?

  • 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.

  • Glad to hear that! 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.