I isntalled the contact directory module and it is listed in the admin --> module section. I can enable the module, but when I click on add contact or search contacts I receive the following warning messages at the top of the page:

"warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\website\modules\contact_dir\contact_dir.module on line 385."

"warning: Invalid argument supplied for foreach() in C:\website\includes\common.inc on line 1308."

The add contact form is displayed, but there are no categories listed in the drop down box, even though I have set up and defined categories for the Contact Directory. Therefore, when I try to add a contact is displays an error message saying the field Primary Category must be filled in.

I am running Drupal 4.6.0 on PHP 5.0.4

Comments

quickcel’s picture

Status: Active » Closed (fixed)

Those errors were popping up because I didn't add any categories under admin --> contact directory. Once I added categories there the errors went away.