Hi,

I had set up a few fields split up among 2 categories in profiles. Later, I installed Advanced Profile Kit and decided that I don't need those fields (or categories) any longer. I deleted them in admin/user/profile. After deleting them and flushing cache, every page render now gets this:

# warning: Missing argument 2 for user_category_load() in /var/www/drupal/modules/user/user.module on line 1139.
# warning: Missing argument 3 for user_category_load() in /var/www/drupal/modules/user/user.module on line 1139.
# warning: array_slice() [function.array-slice]: The first argument should be an array in /var/www/drupal/modules/user/user.module on line 1152.
# warning: implode() [function.implode]: Bad arguments. in /var/www/drupal/modules/user/user.module on line 1152.

Any ideas? It doesn't seem like any actual functionality is lost, but user.module is unhappy. What can I do?

Thanks in advance!

Comments

haikubear’s picture

thanks to xmatt on #drupal for the following:

(1) figure out which module is responsible for the malformed call to user.module
(2) add the following line to $items in the implementation of hook_menu:
'load arguments' => array('%map', '%index'),

In my case, it was the "me alias" module.

kenorb’s picture