I can't get past errors like

warning: preg_match() expects parameter 2 to be string, array given in /var/www/sandbox/sites/all/modules/date/date_api.module on line 834.

whether using the CCK Date module, or trying to create my own date_repeat_rrule form element.

I'm a bit too overwhelmed right now to back up and figure out which values are being sent to which functions and where, but there seems to be a perpetual problem of arrays appearing where strings are wanted, and vice versa.

See also: http://drupal.org/node/256000

Am I missing something obvious here? Should I try the -rc release instead of the -dev ? Is there documentation for how to properly create a date_repeat_rrule form element ?

Thanks.

Comments

karens’s picture

Status: Active » Postponed (maintainer needs more info)

This report is too vague for me to do anything with it. I don't know where you got the error, what you were doing, what kind of date you were using and I'm not sure what version you were using. You marked it as being for the Date Repeat API, but nothing in the issue says anything about repeating dates or why you think this has something to do with that.

Start by getting current on the very latest -dev version of the module. If you have trouble there, I need all the above information. If you're using repeating dates, I also need to know what kind of repeat you were trying to create.

karens’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I'm trying to clean up the issue queue so I can get a new release issued. This is an old issue that doesn't have enough info to do anything with and probably doesn't apply any more because the code has changed a lot since it was reported, so I'm closing it. If there's a real issue here that applies to the latest code, I need a more descriptive report that tells me exactly what kind of date field and widget are being used, what version of PHP it applies to, and provide some steps to reproduce a specific problem.