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).

CommentFileSizeAuthor
#3 update_settings_and_schema-2712079-3.patch787 bytesmyLies
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MartinMa created an issue. See original summary.

vpshah86’s picture

Assigned: Unassigned » vpshah86
myLies’s picture

Here is a patch
Added settings and schema for omitted field of form

myLies’s picture

Status: Active » Needs review
myLies’s picture

Assigned: vpshah86 » Unassigned
pmagunia’s picture

The patch in comment #3 resolved the warning message for me. Thanks.

asrob’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm, this patch works well. I've just cloned a node and there is no error message or something like that. RTBC'ed!

dotist’s picture

the patch does not work for me, also the node_clone admin settings are not being saved.

Boobaa’s picture

Priority: Minor » Normal
Status: Reviewed & tested by the community » Needs work

I 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.

Boobaa’s picture

drupalfan2’s picture

After applying both related patches the warning disappears.