Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jcjohnson on
Not really sure at what point in development this occured, but I just noticed it when I was trying to add a role to a user that had already been created. If anyone has seen this before please fill me in on how to fix this.
- I am logged in as admin
- I click to edit a user
- The only form items displayed are the submit button and delete button!!
I have tried rebuilding permissions, but it didn't fix this issue.
Comments
More Information on disappearing user edit form
I keep getting these two errors in my logs... maybe this will shed some light on this situation.
array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in /public_html/modules/user/user.module on line 2461.
and
uasort() [function.uasort]: The argument should be an array in /home/lassonet/public_html/modules/user/user.module on line 2464.
Issue Resolved
I named a function with the user hook in it and it messed up everything. So if you are having this issue, double check your functions so that you do not user hook involved in the wrong way.