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.
On malformed entities, 'enabled' may not be set.
Change this
$item['enabled'] = (int) ((bool) $item['enabled']);
to
$item['enabled'] = isset($item['enabled']) ? (int) ((bool) $item['enabled']) : 0;
Comment | File | Size | Author |
---|---|---|---|
#1 | Undefined-key-enabled-2459023.patch | 13.87 KB | alex.skrypnyk |
Comments
Comment #1
alex.skrypnykComment #3
codesidekick CreditAttribution: codesidekick commentedPatched, committed to dev and pushed to release 7.x-1.2 with attribution.