Error in form.inc when troll is enabled

pcambra - June 5, 2008 - 09:25
Project:Troll
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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!

#1

Carlitus - June 5, 2008 - 09:27

subscribe

#2

scottg - July 29, 2008 - 20:51

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

jaydub - July 30, 2008 - 10:31
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

#4

Anonymous (not verified) - August 13, 2008 - 10:34
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.