not sure is this is a bug or not. But when someone tries to log on to the site and makes a typing error on username, at top of the screen, an error message appears:
"warning: array_intersect(): Argument #1 is not an arrray in home/mysite/drupa;/modules/evaluation/evaluation.module on line 680."
I found this reported in a forum post with one response suggesting that this might suggest a bug report. I have the problem, but didn't see that the problem had been posted.
Comments
Comment #1
trimax commentedI also encountered the same problem with a 4.6.3 installation:
array_intersect(): Argument #1 is not an array in /home/.../public_html/modules/evaluation.module in line 714
Whenever someone makes a mistake in their username/password combination. Any solutions?
Comment #2
systematic commentedI was getting an arrayintersect():Argument #2 .... in line 714 error. Clicking Evaluation in the menu returned me to the same page. Students could not see questions.... generally it was borked.
This was a fresh 4.6.3 install set up just to test the evaluation module.
A little investigation showed that line 714 of the module realted to the Tutor array.
I went into Administration/Settings/Evaluation and added my instructor role user to the "Optional" Tutor group, and hey presto it all seems to work...