Closed (fixed)
Project:
Forum Access
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2009 at 16:51 UTC
Updated:
6 Dec 2009 at 13:40 UTC
I had to upgrade to the dev version for some reason that I don't remember. At one point I had a few weeks ago Drupal running with advanced forums. Then I installed phpBB integration module and that fudged the whole system. Now I'm back to using Advanced Forum and things are not as smooth.
* warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/thetrito/public_html/sites/all/modules/forum_access/forum_access.admin.inc on line 839.
* warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/thetrito/public_html/sites/all/modules/forum_access/forum_access.admin.inc on line 839.
Comments
Comment #1
salvisWhat's the URL that produces this error?
Comment #2
Adam S commentedHere is the watchdog record. There is also a different problem with the system serving cached pages to logged in users. They might be related.
Type php
Date Saturday, November 21, 2009 - 11:27am
User hgadd@yahoo.com
Location http://www.thetriton.com/user/24048/edit/Author%20Info
Referrer http://www.thetriton.com/user/24048/edit/Address
Message in_array() [function.in-array]: Wrong datatype for second argument in /home/thetrito/public_html/sites/all/modules/forum_access/forum_access.admin.inc on line 839.
Severity error
Hostname 74.233.33.33
Operations
Comment #3
Adam S commentedComment #4
salvisAh, I see. Try replacing line 836
with
Please let us know if this helps.
What makes you think that this could be related to Forum Access?
Comment #5
Adam S commentedThank you, there is no more error. I haven't test how well the access control works in the forum yet.
My Drupal installation is not respecting user logins ,which, I think, might have something to do with account roles.
Comment #6
salvisGreat, thank you for the quick report and test. I've committed the fix to the -dev version, it will show up within 12h.
Please create a new issue if you encounter any other problems.
Comment #7
salvisThis did not interfere with normal operation.