I just upgraded to the latest release. I don't recall seeing this problem with the prior release, but it's possible it's always been there.
If a user registers in the "usual way" (i.e. user/register) there is no problem. If a user was created by the admin, and then you try to edit that user's user page (i.e. /user/8/edit?destination=admin/user/user), then you get the following error at the top of the user's page:
warning: Invalid argument supplied for foreach() in /home/teameigw/public_html/sites/all/modules/nf_registration_mod/nf_registration_mod.module on line 934.
Comments
Comment #1
rconstantine commentedInteresting. That's the second report of that line of code being a problem. I was possibly a bit rude to the other fellow as it seemed he simply hadn't read the documentation. But you and I have been through all of that.
I wonder if nodeprofile updated the routine I stole and you are using a newer version. Could you tell me which version of nodeprofile you're using? And pageroute and nodefamily, and whatever else goes with them?
I'll compare that code. Thanks. If this turns out to be the problem, that is why I mention which version of files I tested against in the README.
Comment #2
misterlawrence commentedNode Profile 5.x-1.1
Node Family 5.x-1.3
Pageroute 5.x-1.x-dev
Pageroute UI 5.x-1.x-dev
Subform Element 5.x-1.3
Registration Modifier 5.x-1.1
Are there any I forgot?
Comment #3
rconstantine commentedDo you know the dates of the dev versions you used; or better yet, copy the $id line from the top of the module files and paste here.
Comment #4
misterlawrence commentedI assume you only need dates for the two dev version, correct?
Pageroute 5.x-1.x-dev
// $Id: pageroute.module,v 1.39.2.30 2007/07/06 08:42:10 fago Exp $Pageroute UI 5.x-1.x-dev
// $Id: pageroute_ui.module,v 1.29.2.6 2007/05/03 13:34:42 fago Exp $Let me know if you need more.
-David
Comment #5
rconstantine commentedOKay, I see that the version I'm using for pageroute is: pageroute.module - 1.39.2.26 as noted in the USAGE section of the README. I'll look into any changes that may have happened or whether the problem is still there in the original that I used.
Comment #6
rconstantine commentedWell, there are differences, but I don't see any obvious deal-breakers between versions. Are you creating any of the nodeprofile pages for the new user as the admin? If so, then perhaps there is an authorship issue involved.
Sorry I don't have time right now to look into this more.
Comment #7
rconstantine commentedSee http://drupal.org/node/173829