Closed (fixed)
Project:
Administration menu
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Oct 2007 at 07:17 UTC
Updated:
18 Nov 2007 at 09:21 UTC
Jump to comment: Most recent file
I received the following error :
warning: array_search() [function.array-search]: Wrong datatype for second argument in C:\wamp\www\golf-my\sites\all\modules\admin_menu\admin_menu.module on line 141.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | admin_menu.module_7.patch | 1.01 KB | sun |
Comments
Comment #1
sunCould you please supply further information?
- Where do you encounter this error? On certain pages or all pages?
- Is Admin Menu displayed or not?
- Do you still encounter the error if you disable Admin Menu?
- Which other modules are enabled?
- Do you still encounter the error if you disable all other contrib modules?
- Webserver including version
- PHP version
Comment #2
najibx commented- Where do you encounter this error? On certain pages or all pages?
Only on content type that is associated with OG ... simple page type, event, classified, blog, forum ...
- Is Admin Menu displayed or not?
Admin Menu being display always
- Do you still encounter the error if you disable Admin Menu?
Error gone when disable Admin Menu. Done this twice.
- Which other modules are enabled?
I have so many to list here. I think the conflict is with OG. it's the latest og-5.x-4.0-rc11
- Do you still encounter the error if you disable all other contrib modules?
can't afford to do this. maybe with fresh install with og?
- Webserver including version
I use local server with WAMP5 - Apache/2.2.4 (Win32)
- PHP version
5.2.3
Comment #3
sunI think I have found a possible reason for this warning. Please test and report back if this patch works for you.
Maybe I should increase PHP's error reporting level...
Comment #4
sunCommitted that patch.
Feel free to re-open this issue if you still encounter this bug after updating to the lastest development snapshot (approx. available in 12 hours).
Comment #5
najibx commentedGreat, work like a charm.
Thanx sun.
Comment #6
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.