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.
The services_client_data_process() assumes that there are hooks returned by the services_client_get_existing_hooks() function. If there aren't the variable isn't initialized and a notice and warning error are thrown since the code attempts to iterate over an undefined variable.
Comment | File | Size | Author |
---|---|---|---|
#1 | undefined-variable-hooks-1939636-1.patch | 482 bytes | cpliakas |
Comments
Comment #1
cpliakas CreditAttribution: cpliakas commentedAttached patch initializes the variable to avoid the errors.
Comment #2
mhrabovcin CreditAttribution: mhrabovcin commentedLooks good, thanks.
Comment #3
mhrabovcin CreditAttribution: mhrabovcin commentedCommitted.