- π¨π¦Canada xmacinfo Canada
I am hitting that error updating the Date module from 7.x-2.10 to 7.x-2.14.
TypeError: Argument 7 passed to date_formatter_process() must be of the type array, null given, called in /srv/www/β¦β¦β¦/sites/all/modules/date/date.field.inc on line 215 in date_formatter_process() (line 223 of /srv/www/β¦β¦β¦/sites/all/modules/date/date.module).
We have a lot of custom code.
Not sure if I will use the patch in #8 or if I will be able to investigate the piece of code that triggers that error.
- Status changed to Needs review
almost 2 years ago 9:46pm 10 February 2023 - πΊπΈUnited States DamienMcKenna NH, USA
Patch #8 wasn't compatible with PHP 5, so this might work better.
- πΊπΈUnited States DamienMcKenna NH, USA
Never mind #13, this is what I meant.
- πΊπΈUnited States DamienMcKenna NH, USA
@xmacinfo: Could you please do some debugging to see if you can work out what variable is causing this?
- π¨π¦Canada xmacinfo Canada
@DamienMcKenna Using your patch in #15 solves the issue.
We have a lot of custom code. I will try to find which variable is passed as an argument (argument 7). But I am not sure how much time I will be able to allow for this.