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

Updating a Matrix field containing a Link field breaks publish page #78

Open
CreateSean opened this issue Jul 3, 2020 · 1 comment
Open

Comments

@CreateSean
Copy link

Craft 3.4.26
Linkit 1.1.11

I've added a new field to a matrix field that contains a linkit field and once I do that the publish page is broken with this error:

TypeError
Return value of fruitstudios\linkit\base\ElementLink::getSelectionLabel() must be of the type string, array returned

If I restore the DB everything is fine. However am now unable to update or change any matrix field that contains a LinkIt field

@derekck
Copy link

derekck commented Aug 13, 2020

I'm having a similar issue. I have a linkit field on a matrix field and I'm trying to get the linkit field data via GraphQL and getting this error in the GraphQL console:

Expected a value of type "String" but received: [].

Craft 3.4.22.1
Linkit 1.1.11

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

2 participants