There are a couple of issues in the queue that were describing some more complex problems, and part of those problems had this issue within them. The error that was reported (and I am seeing) is some php warnings of this kind:
![]()
The overall issue I believe were fixed #369020: "Every First Saturday" skips Feb, March and #409476: date_timezone_set() & date_format() error when editing CCK date repeating fields., but no one seemed to notice that the scalar value warning was a bit separate (or at least I assume so).
I found that date_field's $items are more that just a 'value' and 'rrule' and in some cases are not even arrays yet. This is what causes those scalar warnings. The attached patch simply check to make sure that the $additions[$field['field_name']][$delta] is an array before treating it as such. Hopefully this is not actually a deeper issue and this check is simply sweeping the dirt under the rug.
| Comment | File | Size | Author |
|---|---|---|---|
| date_scalar.patch | 1.25 KB | sirkitree |
Comments
Comment #1
sirkitree commentedSorry meant to attach an image of the errors in the above post.

Comment #2
sirkitree commentedI also notice I did not explain that this only happens when you choose a repeating interval and frequency but fail to fill out the UNTIL.
Comment #3
Scott Reynolds commentedBump, this patch removed the error warnings for me
Comment #4
nyl_auster commentedSame problem. Patch solves the issue for me too. Can you commit it, please?
Comment #5
Scott Reynolds commentedSo it solved a bunch of peoples issues. Therefore its RTBC, not to be ported.
Comment #6
karens commentedFixed, thanks a bunch :)