Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#3 | ddblock-fix-default-checkbox-values-593916-1.patch | 2.88 KB | ppblaauw |
Comments
Comment #1
design.er CreditAttribution: design.er commentedI receive the first error with form.inc on line 1205 too but without a WSOD.
Comment #2
ppblaauw CreditAttribution: ppblaauw commentedThe 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
Comment #3
ppblaauw CreditAttribution: ppblaauw commentedfix for default value declarations for checkboxes