All of the buttons on my site are setup using the pagefinder field and nearly all are pointing to other static pages on the website. What is strange is some buttons cause this error:
But other buttons that are configured the exact same and are pointing to the same page don’t have any issues.
This button was also working fine, it seemed to break randomly.
Here is its definition:
<a href="{{ data.url }}" class="btn-get-started" {{ data.is_url_external ? 'target="_blank" rel="noopener noreferrer"' : '' }} >{{ data.link }}</a>
Here is its page-sections.yaml definition:
link:
label: Button Text
type: text
span: left
comment: The text of the hero button.
tab: Button
url:
label: Button Link
comment: The page or website the button links to
type: pagefinder
span: full
tab: Button
is_url_external:
label: Does URL link to an external website?
type: checkbox
default: false
comment: If checked, the button link will open in a new tab.
span: left
tab: Button
What am I missing here?