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.
On /admin/config/people/user_delete_reassign page there's notification:
Warning: Invalid argument supplied for foreach() in Drupal\Core\Render\Element\Checkboxes::valueCallback() (line 100 of core/lib/Drupal/Core/Render/Element/Checkboxes.php).
Drupal\Core\Render\Element\Checkboxes::valueCallback(Array, , Object)
call_user_func_array(Array, Array) (Line: 1273)
The notification is gone after saving the form.
Comment | File | Size | Author |
---|---|---|---|
#2 | user_delete_reassign-3059088-2.patch | 627 bytes | Snehal Brahmbhatt |
Comments
Comment #2
Snehal Brahmbhatt CreditAttribution: Snehal Brahmbhatt at AddWeb Solution Pvt. Ltd. commented@hkirsman, Kindly find the attached patch that works for the above-mentioned Error, Let me know if it didn't work for you.
Thanks
Comment #4
hkirsman CreditAttribution: hkirsman commentedTx, snehal.addweb ! It works. I've always thought one needs isset() but it seems not obligatory in if's.
Comment #5
hkirsman CreditAttribution: hkirsman commentedComment #6
hkirsman CreditAttribution: hkirsman commented