while trying to register with google OAuth we are getting following error: Can't use string ("firstname") as a HASH ref while "strict refs" in use at /usr/share/koha/lib/Koha/Object.pm line 69
Hi Maya, which exact version of Koha are you using?
Created attachment 88974 [details] [review] Bug 22717: (bug 20287 follow-up) Fix Google OpenId auto registration Silly bug caused by: commit ef410fd62f279a10687636a4f26babb2c91ecadc Bug 20287: Replace occurrences of AddMember with Koha::Patron->new->store->borrowernumber Constructors take a hashref!
*** Bug 22777 has been marked as a duplicate of this bug. ***
Hi Jonathan, I have just test this patch but still fails (same error, internal server error)
(In reply to Claudio from comment #4) > Hi Jonathan, I have just test this patch but still fails (same error, > internal server error) Are you sure you restarted plack? Still getting the "Can't use string" error?
I'm soooooooo sorry Jonathan, you're right. I restarted plack and all work fine again. Thank you sooooo much for you patience.. If you agree I can sign this bug off.
No worries Claudio, thank you for testing! If it works, you can sign it off!
Tested! This patch solves the problem.
Created attachment 89057 [details] [review] Bug 22717: (bug 20287 follow-up) Fix Google OpenId auto registration Silly bug caused by: commit ef410fd62f279a10687636a4f26babb2c91ecadc Bug 20287: Replace occurrences of AddMember with Koha::Patron->new->store->borrowernumber Constructors take a hashref! Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Awesome work all! Pushed to master for 19.05
Thank You All for this kind effort, the Bug was cause in 18.11.04 -Maya
Pushed to 18.11.x for 18.11.06