I am getting this warning when a new user tries to register:

warning: Missing argument 6 for _privatemsg_send(), called in /hsphere/local/home/midlandh/midlandhosta.org/members/sites/all/modules/privatemsg/privatemsg.module on line 424 and defined in /hsphere/local/home/midlandh/midlandhosta.org/members/sites/all/modules/privatemsg/privatemsg.module on line 1569.

Thanx,
Drupal ROCKS!

Comments

j0k3z’s picture

Category: support » bug

I wasnt getting this error but I just started getting it when I upgraded to 5.x.2.x dev version.

I have a default PM sent to new users upon signup, so it must be coming from that

salvis’s picture

#1: In the current 5.x-2.x-dev version _privatemsg_send() has only 5 parameters. Are you using an older 5.x-2.x-dev?

Please note that 5.x-2.x-dev is a development version and it shouldn't be used on a live site.

leonglass’s picture

I too am using the dev version of privatemsg and receive the same error. You can fix the registration process by deleting the welcome message altogether and then the registration process works again.

chx’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)