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.
Using array_merge_recursive() causes the warning because variable $format does not initialized yet.
Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #2 is not an array in /date/date_api.module on line 2160.
Attached patch which fixed above warnings.
Comment | File | Size | Author |
---|---|---|---|
#2 | date-array_merge_recursive_warning-2088347-2.patch | 785 bytes | pdrake |
date_fix_warning_array_merge_recursive.patch | 805 bytes | Andriy Parkhomiuk | |
Comments
Comment #2
pdrake CreditAttribution: pdrake commentedThis patch worked for me. I re-rolled it so that it will apply cleanly to 6.x-2.x-dev, but otherwise this is exactly the same patch as in #1
Comment #3
DamienMcKennaUnfortunately the D6 version of this module is no longer supported, but we appreciate the time you put into this. If this problem is relevant for D7 too, please reopen the issue. Thanks.