Module works ok, but when using a YMD date I get a PHP Notice: Undefined offset: 1 in date_range_years() (line 1945 of sites\all\modules\date\date_api.module).
Module works ok, but when using a YMD date I get a PHP Notice: Undefined offset: 1 in date_range_years() (line 1945 of sites\all\modules\date\date_api.module).
Comments
Comment #1
karens commentedNot enough information to reproduce the problem. Please describe the steps to see this message.
Comment #2
wouter99999 commentedI see this as message in node/x#overlay=node/add/mycontenttype and node/x#overlay=node/edit/mycontenttype with mycontenttype containing a date field in the format: 12 Dec 2010 (only d/m/y so no timezone set).
Comment #3
karens commentedI cannot replicate this. I have PHP set up to report all errors and see none.
Comment #4
karens commentedNo more response and I can't replicate the problem.
Comment #5
wouter99999 commentedHi,
I found the problem: I had a date field where I used -25+1 as range of years instead of -25:+1 (I forgot the ":").