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.
$block is being initialized as a string instead of an array which makes the block not to show up when using PHP 7.x
Attached patch to fix it.
Comment | File | Size | Author |
---|---|---|---|
#2 | alert_box-initialize_block_variable-3026954-2-7.patch | 529 bytes | javi-er |
Comments
Comment #2
javi-er CreditAttribution: javi-er at Taoti Creative commentedComment #3
NickDickinsonWildeFixes PHP 7 issues
Comment #5
dandaman CreditAttribution: dandaman as a volunteer commentedExcellent patch, although it did not apply automatically due to path issues (has the module folders in there). Still, I made the changes you recommended and it's great to have as the module better supports PHP 7 now. Thanks again!