I get an error warning: extract() [function.extract]: First argument should be an array in ...birthdays-5.x-1.x-dev\birthdays\birthdays.module on line 642.

The $edit profile_date field is empty, which is what is causing the error. Consequently no birthdays are stored to the database.

Comments

patrickharris’s picture

One line 537 of the profile module, it appears that profile module erases the processed $edit data.

patrickharris’s picture

In system I changed the birthdays module weight to -1, so it gets called before profile module. This has fixed the problem for me.

maartenvg’s picture

I see. In my setup the birthday module was called before the profile module, and I made it to depend on that. I never thought about it, that in some situations that might not be the case.

I've updated the install scheme, changing the weight permanently (always 1 lower than profile's weight), and added it to CVS.
(if anyone updates from a CVS version of birthdays.install before 1.2.2.3, don't forget to run update.php)

Thanks for reporting this bug!

maartenvg’s picture

Title: Problem with extract function : line 642 » Problem with module weights
Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)