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

Craft 3.7.24 breaks LinkIt #10208

Closed
heymarkreeves opened this issue Dec 3, 2021 · 1 comment
Closed

Craft 3.7.24 breaks LinkIt #10208

heymarkreeves opened this issue Dec 3, 2021 · 1 comment
Labels

Comments

@heymarkreeves
Copy link

Description

This probably isn't your issue to fix, but with over 8,000 LinkIt installs, a number of sites are likely to be broken.

See presseddigital/linkit#92

Looks like it comes from these in LinkIt's template:

{{ forms.field({
    errors: field.getErrors('enabledLinkTypes'),
    first: true
}) }}
{{ forms.field({
    label: groupTitle,
    instructions: "Select and configure the {groupTitle} you would like to make available."|t('linkit', {groupTitle: groupTitle|lower}),
    first: true
}) }}

Steps to reproduce

I attempted to edit a Matrix field that uses LinkIt fields in its blocks. I assume this also happens when editing a LinkIt field.

Additional info

  • Craft version: 3.7.24
  • PHP version: 8.0
@brandonkelly
Copy link
Member

Thanks, just added a safeguard for this.

To get the fix early, change your craftcms/cms requirement in composer.json to "dev-develop as 3.7.24" and run composer update.

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

No branches or pull requests

2 participants