When I try to add an element I get an error:
Fatal error: Unsupported operand types in /sites/all/modules/i18n/i18n_string/i18n_string.inc on line 707
I also have these errors at the top of the page:
Notice: Undefined index: args in drupal_retrieve_form() (line 719 of /home/public_html/includes/form.inc).
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in drupal_retrieve_form() (line 757 of /home/public_html/includes/form.inc).
Warning: Missing argument 1 for finder_admin_edit() in finder_admin_edit() (line 105 of /home/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Warning: Missing argument 2 for finder_admin_edit() in finder_admin_edit() (line 105 of /home/jspcaorg/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Warning: Missing argument 3 for finder_admin_edit() in finder_admin_edit() (line 105 of /home/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Notice: Undefined variable: form in finder_admin_edit() (line 108 of /home/jspcaorg/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Notice: Undefined variable: form_state in finder_admin_edit() (line 108 of /home/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Notice: Trying to get property of non-object in finder_admin_edit() (line 116 of /home/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Notice: Trying to get property of non-object in finder_admin_edit() (line 129 of /home/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Notice: Trying to get property of non-object in finder_admin_edit() (line 139 of /home/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Notice: Trying to get property of non-object in finder_admin_edit() (line 148 of /home/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Notice: Trying to get property of non-object in finder_admin_edit() (line 156 of /home/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Notice: Trying to get property of non-object in finder_admin_edit() (line 166 of /home/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Notice: Trying to get property of non-object in finder_admin_edit() (line 178 of /home/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Notice: Trying to get property of non-object in finder_admin_edit() (line 340 of /home/jspcaorg/public_html/sites/all/modules/finder/includes/finder.admin.inc).
Notice: Undefined variable: form_id in finder_i18nstrings_map_from_form() (line 175 of /home/public_html/sites/all/modules/finder/modules/finder_i18nstrings/finder_i18nstrings.module).
Notice: Undefined index: method in drupal_prepare_form() (line 939 of /home/jspcaorg/public_html/includes/form.inc).
Notice: Undefined index: #type in finder_i18nstrings_map_from_form() (line 180 of /home/jspcaorg/public_html/sites/all/modules/finder/modules/finder_i18nstrings/finder_i18nstrings.module).
Notice: Undefined index: #type in finder_i18nstrings_map_from_form() (line 180 of /home/public_html/sites/all/modules/finder/modules/finder_i18nstrings/finder_i18nstrings.module).
Notice: Undefined index: form in finder_i18nstrings_map_from_form() (line 189 of /home/public_html/sites/all/modules/finder/modules/finder_i18nstrings/finder_i18nstrings.module).
Notice: Undefined index: no_results in finder_i18nstrings_map_from_form() (line 189 of /home/jspcaorg/public_html/sites/all/modules/finder/modules/finder_i18nstrings/finder_i18nstrings.module).
Notice: Undefined index: advanced in finder_i18nstrings_map_from_form() (line 189 of /home/public_html/sites/all/modules/finder/modules/finder_i18nstrings/finder_i18nstrings.module).
Notice: Undefined index: settings in finder_i18nstrings_map_from_form() (line 189 of /home/public_html/sites/all/modules/finder/modules/finder_i18nstrings/finder_i18nstrings.module).
Notice: Undefined index: #type in finder_i18nstrings_map_from_form() (line 180 of /home/public_html/sites/all/modules/finder/modules/finder_i18nstrings/finder_i18nstrings.module).
Notice: Undefined index: #type in finder_i18nstrings_map_from_form() (line 180 of /home/public_html/sites/all/modules/finder/modules/finder_i18nstrings/finder_i18nstrings.module).
How do I get the module to work?
Comments
Comment #1
danielb commentedThat's weird.
Try disabling finder_i18nstrings, not sure why but I started getting errors with that module recently. Not sure this will help you though.
Comment #2
LTech commentedHow do I disable finder_i18nstring? I want the search box to be multilingual. At the moment I can't add an element to the finder.
Is there another module that does something similar for drupal7?
Comment #3
danielb commentedI have rewritten a lot of the finder_i18nstrings module yesterday. I still get some notices but I don't know how to deliberately cause them, so tracking them down is taking time. I also noticed there is a problem storing strings that have a filter format, so those will have to be handled differently.
I won't commit this for at least a few days, but a fix is coming.
Comment #4
danielb commentedThese errors no longer happen in 7.x-2.x
Comment #6
constantinejohny commentedSorry to open this one, but I get these errors in 7.x-2.0-rc2.
I created a finder using 3 taxonomy terms as Elements. Everything works OK.
But now when I try to edit the Finder and save the changes, I get those errors on the finder page.
The strange thing is that when I edit the finder, make no changes and click Save, the errors appear as well.
Clearing the cache doesn't work, I have always to restore my DB with a version before the changes.
Any help with this please?
Comment #7
danielb commentedThat's not a reason to reopen the issue. The code this issue is about isn't supported, THE FILES DON'T EVEN EXIST ANYMORE, so it is impossible that you "get those errors" in 7.x-2.x.
Comment #8
constantinejohny commentedOK, maybe something is messed up in my install, but in admin/modules I see "Finder 7.x-2.0-rc2", and I really get those errors every time I try to change my finder - and then they always appear on my page with the finder.
Will try a fresh install, because I updated from previous version in this one.