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.
The following errors show when using Field Hidden fields:
Deprecated: Array and string offset access syntax with curly braces is deprecated in field_hidden.admin.inc on line 198
Deprecated: Array and string offset access syntax with curly braces is deprecated in field_hidden.admin.inc on line 199
Comment | File | Size | Author |
---|---|---|---|
#2 | field_hidden-n3174496-2.patch | 1.66 KB | DamienMcKenna |
Issue fork field_hidden-3174496
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
DamienMcKennaThis should cover the problem.
Comment #3
joelpittetThanks @DamienMcKenna, I was just about to write this patch :)
Comment #4
aubjr_drupal CreditAttribution: aubjr_drupal commented@DamienMcKenna - Same as @joelpittet. Thanks. :)
Comment #5
Paul Webster CreditAttribution: Paul Webster as a volunteer commentedMajor hosting provider Ionos (ex 1&1) plans to start charging an extra fee of 7GBP per month from January 2022 to sites that need to keep running PHP 7.3
I had 3 modules that were generating PHP warnings because of 7.4 ... this is one of them.
Have applied the patch from #2 and it resolves the warning with no obvious detrimental effect.
Would be good to have it rolled into Drupal 7 (I am running Drupal 7.84 which is latest at time of writing this).
Comment #6
sir_squall CreditAttribution: sir_squall commentedDo you know when this will be merged?
Comment #7
jacobfriis CreditAttribution: jacobfriis commentedIt won't be merged. Just use the patch. The work involved in creating a new release is not justified by a deprecation issue in the D7 track (EOL in foreseeable future).
Comment #8
DamienMcKennaIt's five minutes to commit the fix and make a new release?
Comment #9
joelpittet@jacobfriis I’m willing to co-maintain D7 if that helps keep your focus on D9+ feel free to add me as a maintainer
Comment #11
jacobfriis CreditAttribution: jacobfriis commentedBoy, oh boy. field_hidden 7.x-1.9 released ;-)
Comment #12
joelpittetThanks🚀 and if you want a hand my offer stands
Comment #13
jacobfriis CreditAttribution: jacobfriis commented@joelpittet De nada ;-) I'll keep your offer in mind, if I get pressed for time, or (particularly) if something complex appears in D7 context.
Apologies, everyone. I didn't take this serious, because I'm used to a (D9 + composer) context where adding|applying a patch is a very trivial one-off task.
And because I think we should focus on D9 (which is easy to say if one doesn't work with D7 projects...).
Anyway, if this is important for you guys, then I certainly must take it serious :-)