Project:Remember me
Version:6.x-2.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Fatal error: Cannot use object of type stdClass as array in remember_me/remember_me.module on line 80

change
$remember_me = isset($edit['remember_me']) ? $edit['remember_me'] : NULL;
to
$remember_me = isset($edit->remember_me) ? $edit->remember_me : NULL;

Comments

#1

Status:active» needs review

And a patch

AttachmentSize
remember_me-474184.patch 819 bytes

#2

Status:needs review» closed (fixed)

I don't know why you are getting a fatal error. The $edit argument is supposed to be an array (as indicated in the documentation), not an object. I'm marking this as closed.

nobody click here