Using the last version of code form checked out from CVS when any user is viewed (there may be other insistances but I haven't seen them) the following error is displayed:

Fatal error: Cannot use object of type stdClass as array in D:\or6-full\includes\common.inc on line 2843

CommentFileSizeAuthor
#5 user_glitch1.patch789 bytesscor
#3 user_glitch.patch786 bytesrho_

Comments

marcingy’s picture

by user viewed I mean for example http://localhost/user/1

douggreen’s picture

The offending line is user.module +2337. It's passing an object to drupal_alter, but drupal_alter expects an array.

rho_’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new786 bytes

I believe this error stemmed from some changes in the declaration to drupal_alter in common.inc.
Rolled a small patch that seems to fix the issue.

Please review.

mpare’s picture

Status: Active » Reviewed & tested by the community

Patch applied cleanly to fresh checkout of head. Issue appears to have been resolved. Simple testing performed without ill effect.

scor’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new789 bytes

good catch. patch working and rerolled to fix offset.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Ha, thanks, committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.