Warning: foreach() argument must be of type array|object, string given in Drupal\Core\Render\Element\Checkboxes::valueCallback()

Created on 6 August 2025, 25 days ago

After upgrading from 2.2.5 to 2.2.6 or later I get this warning on pages with the MailChimp signup form in a block.

Warning: foreach() argument must be of type array|object, string given in Drupal\Core\Render\Element\Checkboxes::valueCallback()

It is related to the interest groups checkboxes. If I disable the option for users to select interest groups, the warning is gone.

πŸ› Bug report
Status

Active

Version

2.2

Component

Signup Module

Created by

πŸ‡³πŸ‡±Netherlands ecvandenberg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024