Closed (fixed)
Project:
Secure Site
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jan 2009 at 19:03 UTC
Updated:
12 May 2014 at 18:26 UTC
Jump to comment: Most recent
I get this error
warning: in_array(): Wrong datatype for second argument in /srv/www/apps/drupal/drupal-6.contrib/modules/securesite/securesite.module on line 188.
after upgrading from D5:
if (in_array(SECURESITE_DIGEST, variable_get('securesite_type', array(SECURESITE_BASIC))) && ...
The securesite_type variable is a string in D5 (s:16:"SECURESITE_BASIC";), not an array.
It should be converted in a hook_update_N() function.
Comments
Comment #1
darren ohFixed in CVS commit 163646.
Comment #2
summit commentedHi,
I got this error from the 2.1 version.
Could you please also file a 2.11 or 2.2 version with this error corrected.
I can't see a .dev of this module, thats why I ask.
Thanks a lot in advance for considering this!
greetings,
Martijn
Comment #3
darren ohDone.
Comment #5
summit commentedHi,
Still having this issue in 2.2, dev version date is much older, so I expect 2.2 is the newest right?
greetings,
Martijn
Comment #6
darren ohThe dev version always has the latest code.