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.
There are lots of notices and warnings in database log messages. I've created a patch, that checks the array keys before, so that gets rid of the notices and warnings. Please review.
Notice: Undefined index: country_codes in phone_element_process() (line 116 of /drupal/sites/all/modules/phone/includes/phone.element.inc).
Warning: array_filter() expects parameter 1 to be array, null given in array_filter() (line 116 of /drupal/sites/all/modules/phone/includes/phone.element.inc).
Comment | File | Size | Author |
---|---|---|---|
#2 | phone-undefined-index-country-codes-02.patch | 2.61 KB | jian he |
phone-undefined-index-country-codes-01.patch | 2.67 KB | Elin Yordanov | |
Comments
Comment #1
Elin Yordanov CreditAttribution: Elin Yordanov commentedComment #2
jian he CreditAttribution: jian he commentedI could not apply the 01.patch to branch 7.x-2.x. Here is the new patch witch can be apply.