- 🇳🇱Netherlands Eric_A
Was this fixed in 🐛 Config schema errors Fixed ? Or is it partially fixed?
The merge request here is all about arrays, while the other issue further stringified things. - 🇳🇱Netherlands Eric_A
- 🇺🇸United States audioroger Bristol, VT
Uploading the patch generated from https://git.drupalcode.org/project/readonlymode/-/merge_requests/4/diffs... based on comment 19.
Don't be mad y'all, I know there are plenty of conversations around uploaded patches vs. using MR generated patches locally. For me, I'm contributing this patch to another project that doesn't have local patches, so I want a permanent link. So far as I can tell this is not yet supported in GitLab.
Patch in #23 did not work for me on D10.
In admin/config/development/maintenance, I got:
TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in implode() (line 102 of modules/contrib/readonlymode/readonlymode.module).
I could get a no error or warning install using
- Using
https://www.drupal.org/files/issues/2023-04-17/argument-passed-as-string... →
fixed
TypeError: Argument 2 passed to _readonlymode_form_list_check() must be of the type string, array given
. Credit to OPTASY 🐛 Argument 2 passed to _readonlymode_form_list_check() must be of the type array, string given Active - Using https://git.drupalcode.org/project/readonlymode/-/commit/2ef5cf6e49dbcca... fixed
Warning: Undefined array key "show_view_elements"
. Credit to Ben Teegarden - There was also a "
Warning: Undefined array key "actions"
" in some administrative pages that I fixed appending the 'actions' key just like in item 2.
- Using
https://www.drupal.org/files/issues/2023-04-17/argument-passed-as-string... →
fixed
- 🇫🇷France iheb.attia
Same patch as #24 but remove only 'show_view_elements' element from form.