Posted by pcambra on June 5, 2008 at 9:25am
Jump to:
| Project: | Troll |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi
I get this error when troll is enabled and i go to the search settings page (/admin/settings/search)
Fatal error: Cannot use string offset as an array in /includes/form.inc on line 680
If i disable troll, the site works normally
Could you take a look to this?
Thanks!
Comments
#1
subscribe
#2
I ran into this too. From what I can tell, the Troll module is accidentally implementing hook_search on line 1015. This function should probably only be used internally, so an easy solution would be to change the function name to _troll_search and do a find/replace in the rest of the file for where it gets called.
Worked for me.
#3
This was fixed in CVS but I had not made a new release
with the fix. I made a new release now so check out
5.x-1.3
#4
Automatically closed -- issue fixed for two weeks with no activity.