Notice: Array to string conversion in material_admin_preprocess_input() (line 81 of themes/contrib/material_admin/inc/preprocess.inc).
Fixed in 8.x-1.x but needs to be ported to 2.x
Attached patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3197375-array-to-string-notice.patch | 961 bytes | grigoriunicolae |
| #4 | 3197375-array-to-string-notice.patch | 899 bytes | grigoriunicolae |
| material_admin-v2-array_to_string_notice.patch | 959 bytes | ocastle |
Comments
Comment #2
osmanThe patch works.
But may I ask why not simplify like this?
Comment #3
grigoriunicolae commentedPatch for 2.x version
Comment #4
grigoriunicolae commentedComment #5
grigoriunicolae commentedComment #6
jwineichen commented#5 patch worked for me
Comment #7
it-cru#5 patch worked for me also with PHP 8.0
Comment #8
it-cruRaised priority to critical because site could not be usable anymore.
Comment #9
dshumaker commentedJust fyi, this #5 patch also fixed this other bug ( https://www.drupal.org/comment/reply/3299145#comment-form ) for me.
Drupal 9.4.5
Php 8.1.8