-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Undefined index: handle when used in a Matrix field #1
Comments
Hmm - seems interesting that the error is being thrown by Anyway, I've attached a few screenshots of what I've got going, and have tested working. Can you confirm, or let me know if its not correct? Alternatively - just post some screenshots of your Matrix layout :) |
@louderthan10 any further developments with the above? |
For me plain text fields inside super table inside matrix seems to work fine, but once i try to use dropdown-fields or category-fields I can't retrive the data without getting error messages. For example for a dropdown field i get the value "1" for all selections when i use
|
@KnutSv Sorry for the delay in getting back to you about this. I've been struggling to reproduce your error. See the below screenshots and code which works for me.
|
Thanks, it turned out my issue was caused by using "type" as a handle. Changing the handle fixed the issue. |
@rickprince Interesting, I'd be interested to see your specific field setup. Probably best to get it touch via Slack, or send through an export of the field using Field Manager |
Closing for now - please reopen or create a new issue if you're still experiencing this. |
I'm running into this same issue. Latest Craft and Supertable. Line 79. |
There are known issues with a Super Table / Matrix configuration and field handle validations. A Super Table field on its own will validate properly. This issue is usually due to a field using a reserved handle. @shealan are you able to confirm this? Happy to debug further in Slack? |
…ements Add support for ownerSite in getRelatedElements()
Hi guys,
I'm running into an issue where some entries are getting an error when they contain a Matrix block with your field in it. Specifically in this case, the same Matrix block has a standard table, which is populated with data, and has a supertable which is not populated (not sure if that's relevant).
If I remove the supertable field from the Matrix, the entry works again.
The text was updated successfully, but these errors were encountered: