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.
If i go to admin/config/content/clone i get following message:
Warning: Invalid argument supplied for foreach() in Drupal\Core\Render\Element\Checkboxes::valueCallback() (line 100 of core/lib/Drupal/Core/Render/Element/Checkboxes.php).
Comment | File | Size | Author |
---|---|---|---|
#3 | update_settings_and_schema-2712079-3.patch | 787 bytes | myLies |
Comments
Comment #2
vpshah86 CreditAttribution: vpshah86 as a volunteer and at Clarion Technologies commentedComment #3
myLies CreditAttribution: myLies as a volunteer commentedHere is a patch
Added settings and schema for omitted field of form
Comment #4
myLies CreditAttribution: myLies as a volunteer commentedComment #5
myLies CreditAttribution: myLies as a volunteer commentedComment #6
pmaguniaThe patch in comment #3 resolved the warning message for me. Thanks.
Comment #7
asrobI can confirm, this patch works well. I've just cloned a node and there is no error message or something like that. RTBC'ed!
Comment #8
dotist CreditAttribution: dotist commentedthe patch does not work for me, also the node_clone admin settings are not being saved.
Comment #9
BoobaaI can confirm that the patch removes the PHP warning.
OTOH, the settings are not being saved – but that's taken care of by the patch in #2724919-2: Configurations cannot be changed and publishing options missing.
Comment #10
BoobaaComment #11
drupalfan2 CreditAttribution: drupalfan2 as a volunteer commentedAfter applying both related patches the warning disappears.