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

carlitus’s picture

subscribe

scottg’s picture

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.

jaydub’s picture

Status: Active » Fixed

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

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.