Visiting the alinks settings page (/admin/config/content/alinks) the first time (without saving settings) I get the following Warning:

Warning: Invalid argument supplied for foreach() in Drupal\Core\Render\Element\Checkboxes::valueCallback() (line 100 in /app/public/magazin/core/lib/Drupal/Core/Render/Element/Checkboxes.php).

Comments

osopolar created an issue. See original summary.

osopolar’s picture

Status: Active » Needs review
StatusFileSize
new545 bytes

This happens when there are no alinks settings. Attached patch fixes that.

mattlt’s picture

Status: Needs review » Reviewed & tested by the community

Patch fixed the problem for me.

Thanks,

•• matt