Closed (duplicate)
Project:
Legal
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2012 at 12:14 UTC
Updated:
23 Jun 2012 at 16:50 UTC
Jump to comment: Most recent
When I accept new/changed terms upon login, I get the following error:
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /var/www/__/includes/entity.inc).
Comments
Comment #1
tuwebo commentedSeems to me that this issue is related to this one #1300930: Array passed to user_load() causes warning and looks like has been fixed in dev version.
Looks like the module was loading the user in the old D6 fashion way.
Try to change this line of code in the legal.module line 586:
For this one
Please report if that did the trick.
Comment #2
itz_andr3 commentedalso got this warning..
is someone tried #1 code??
Comment #3
itz_andr3 commentedOK, it's worked, no more warning.
Data also recorded.
i read on the similar issue mention above, it's allready on dev
Comment #4
Anonymous (not verified) commentedfixed duplicate, see #1