Hey there,

I recognized a notice in the watchdog of my drupal and tracked it down to the user.module (obviously it was just written there in the watchdog ;P)

However this notice happend from time to time. I found no real trigger for it.
I fixed it with a simple conditional in user.module (patch attached).

Thanks for reading

func0der

Comments

func0der’s picture

Status: Active » Needs review

Setting this to "Needs Review"

Status: Needs review » Needs work

The last submitted patch, watchdog_user_userfield_fix.patch, failed testing.

func0der’s picture

StatusFileSize
new1.17 KB

Sorry, custom directory structure.

Appended new patch.

func0der’s picture

Status: Needs work » Needs review

The last submitted patch, watchdog_user_userfield_fix.patch, failed testing.

func0der’s picture

Status: Needs work » Needs review

#3: watchdog_user_userfield_fix.patch queued for re-testing.

Version: 7.23 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

poker10’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)
Issue tags: -
Related issues: +#2653342: Warnings in user_node_load() for deleted users

Thanks for the patch. This seems to be a duplicate of #2653342: Warnings in user_node_load() for deleted users, although this issue is older, the second one has lot of patches and feedback.