I received this error:
warning: array_filter() [function.array-filter]: The first argument should be an array in /home/.../sites/all/modules/fboauth/includes/fboauth.profile.inc on line 67.
and I don't know what it means.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | fboauth_submit_profile.patch | 598 bytes | quicksketch |
Comments
Comment #1
jhun vert commentedHow can I fix this?
Comment #2
olec3000 commentedI am getting the same error. I don't see anything else about it when I search. Can someone help us out? Thanks!
Comment #3
lionsharz commentedsame error - any ideas?
Comment #4
quicksketchThanks for the report guys. This problem can occur when you have the Profile module enabled (part of core) but don't actually have any profile fields set up on your site (in which case you should probably disable Profile module). This makes it so that FBOAuth gets a NULL value when it expects an array, causing the error. It doesn't actually affect the module in a negative way though, so I've moved this issue to minor.
I've committed this patch which will prevent the problem. But as I mentioned, in your situation, you might be able to simply disable the Profile module if you're not using it.
Comment #5
quicksketchRetitling for posterity.