Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Am getting the following error message multiple times on the Manage Display tab. It may have something to do with Display Suite. The error goes away when I select no layout.
Notice: Undefined index: cardinality in field_multiple_limit_field_formatter_settings_summary_alter() (line 28 of /home/rivulcom/drupal-7.20/sites/all/modules/field_multiple_limit/field_multiple_limit.module).
Any suggestions?
Comment | File | Size | Author |
---|---|---|---|
#1 | field_multiple_limit-ignore_missing_cardinality-1958614-1.patch | 1.44 KB | DuaelFr |
Comments
Comment #1
DuaelFrThis not only happens with Display Suite but for all extra fields because they have no
cardinality
.This patch fixes this notice.
This patch is part of the #1day1patch initiative.
Comment #2
hedel CreditAttribution: hedel commented#1 worked for me
Thanks @DuaelFr
Comment #3
Heorhi Lazarevich CreditAttribution: Heorhi Lazarevich commented#1 worked for me too
Thanks @DuaelFr
Comment #4
JKingsnorth CreditAttribution: JKingsnorth commented#1 works for me three, thanks.
Though the new IF statement is a bit too long, it's a nice quick fix.
Comment #5
wooody CreditAttribution: wooody commented#1 ... Thank you DuaelFr .
Comment #6
zmove CreditAttribution: zmove commented#1 worked for me too.
Comment #7
pagalve CreditAttribution: pagalve commentedGreat work ! "DuaelFr
Comment #8
webadpro CreditAttribution: webadpro commentedPlease Commit.
Comment #9
Ravenight CreditAttribution: Ravenight commented#1 worked for me
Comment #10
jmuzz CreditAttribution: jmuzz commented#1 worked for me too.
Thanks @DuaelFr
Comment #11
fonant CreditAttribution: fonant commented#1 works here.
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commented#1 seems to have worked for me, too. Thanks!
Comment #13
kae76 CreditAttribution: kae76 commentedWorks a treat for me too, thanks
Comment #14
csc4 CreditAttribution: csc4 commentedPatch fixed it for me too - seems surprising that in two years this hasn't been committed?
Comment #15
MarkieG CreditAttribution: MarkieG commentedI agree, I hate applying patches. I'm hoping this module doesn't get updated without this patch being committed.
Comment #16
andros CreditAttribution: andros commentedMany useful modules are almost abandoned. It is a bit strange the maintainers get lost somehow.
I have set it to "patch to be ported" maybe the maintainer wakes up sometime.
Comment #17
JKingsnorth CreditAttribution: JKingsnorth commentedHi andros - it doesn't need porting, it needs committing, so this should be RTBC =]
Comment #18
brandonc503 CreditAttribution: brandonc503 commented*deleted as i cant remove account
Comment #19
DuaelFr@brandonc503 You should learn how to patch because this module has no active maintainer for now (not blaming anyone, I also own a few modules that I cannot maintain anymore). https://www.drupal.org/patch/apply
Comment #20
Road Kill CreditAttribution: Road Kill commentedThank you for the Patch DuaelFr worked for me. Really bad that a year later this has still not been committed.
Comment #22
rootworkI'm now helping out maintaining this module, and I've published this patch to the dev version. A new alpha release with the patch is also forthcoming.