i'm getting this error when i configuring a new ddblock instance
warning: Invalid argument supplied for foreach() in /mysite/includes/form.inc on line 1205.

After i hit save i get WSOD and this is the error in my php logs
PHP Fatal error: Unsupported operand types in /mysite/modules/block/block.module on line 312

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

design.er’s picture

I receive the first error with form.inc on line 1205 too but without a WSOD.

ppblaauw’s picture

Status: Active » Postponed

The error with form.inc on line 1205 is a bug caused by an error in declaring default values for checkboxes.
This will happen only the first time, but does not break the functionality.
Will be solved in next dev version of the ddblock module.

#travisc

I could not reproduce the: PHP Fatal error: Unsupported operand types in /mysite/modules/block/block.module on line 312

ppblaauw’s picture

Status: Postponed » Needs review
FileSize
2.88 KB

fix for default value declarations for checkboxes