Closed (duplicate)
Project:
Date
Version:
7.x-2.9
Component:
Date Field
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2015 at 19:13 UTC
Updated:
12 May 2016 at 10:01 UTC
Jump to comment: Most recent
I started getting this error:
Notice: Undefined index: show_remaining_days in date_field_formatter_view() (line 210 of …/date/date.field.inc).
Patched according to this post, and it works, wondering if this was the correct fix? wondering why the patch never made it into a release, as it looks like it was applied to a dev version a while back.
https://www.drupal.org/node/2469189
Thanks.
Comments
Comment #2
greendemiurge commentedI'm getting this too. The patch that was in https://www.drupal.org/node/2469189 was applied October 2nd, but the current non-dev version was released 2015-Sep-08, so the patch isn't in there. You can apply the patch by downloading it to your date directory (https://www.drupal.org/files/issues/date-show_remaining_days_notice-2469...) and running
patch -p1 < date-show_remaining_days_notice-2469189-1.patchfrom command line within your date module directory.Comment #3
hamrant commentedIndeed, in the current module version(7.x-2.9) patch #2469189: Notice: Undefined index: show_remaining_days in date_field_formatter_view() (line 210 of …/date/date.field.inc)., is missing.
I think it will be included in the next release.
Comment #4
kenorb commentedComment #5
jrabeemer commentedIt'll be in 7.x-2.10
http://cgit.drupalcode.org/date/tree/date.field.inc?h=7.x-2.10-rc1&id=15...
Comment #6
kenorb commentedComment #7
kenorb commented