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.
After upgraded to PHP 7:
Fatal error: 'break' not in the 'loop' or 'switch' context in
modules/contrib/imageapi/imageapi_gd.module on line 54
Comment | File | Size | Author |
---|---|---|---|
#2 | imageapi-php7-fatal-error-2782369-2.patch | 415 bytes | Kgaut |
Comments
Comment #2
Kgaut CreditAttribution: Kgaut as a volunteer commentedA patch fixing this issue
Comment #3
dgtlmoon CreditAttribution: dgtlmoon commentedworked for me
Comment #4
RumyanaRuseva CreditAttribution: RumyanaRuseva at FFW commentedWorked for me too, a simple and obvious patch.
Comment #5
joelpittetLooks like a duplicate of #2639570: invalid syntax / logic in imageapi_gd.module
Comment #6
ziomizar CreditAttribution: ziomizar as a volunteer and at East Atlantic Engineering commentedProvided patch here still have unused code after the return statement.
Closed as duplicated of #2639570: invalid syntax / logic in imageapi_gd.module which provide a correct patch.
Comment #7
apadernoComment #8
DamienMcKenna