The first time you go to the admin form after installing the module you get two instances of this error message:

Warning: Invalid argument supplied for foreach() i form_type_checkboxes_value() (rad 2390 av .../includes/form.inc).

The reason for this is that you use 0 as a default value for form elements of type 'checkboxes'. The value for that field type has to be an array.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ordermind created an issue. See original summary.

ordermind’s picture

Issue summary: View changes
ordermind’s picture

Status: Active » Needs review
FileSize
727 bytes
doublejosh’s picture

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

Thank you!

bridgeway04’s picture

Version: 7.x-1.x-dev » 7.x-1.1

I am getting the same error in v7.x-1.1 at the top of the configuration screen. I tried installing the patch using git apply -v but I get Skipped patch 'datalayer.admin.inc'?

If you can't tell, I am new to Get and applying patch files!

Brad

bighappyface’s picture

Tests fixed in #2855972: Automated test runs failing and test run is now successful for this patch. I am verifying once more before moving this forward.

bighappyface’s picture

Status: Reviewed & tested by the community » Fixed

Manually verified the issue and the fix using simplytest.me. No notices are present on the datalayer configuration screen on the first visit after enabling the module with the patch applied.

bighappyface’s picture

Status: Fixed » Closed (fixed)