So the error is:

Notice: Undefined property: stdClass::$footer in finder_ui_i18n_string_translate_strings() (line 155 of /sites/all/modules/finder/modules/finder_ui/finder_ui.i18n_string.inc).

The same error is for : $autocomplete, $avaible_options, $header, $field_suffic, $field_preffix etc.

Comments

tritof’s picture

Hi,

I have the same error messages. It happened consequently (at least after) changing the "Find button" parameter to switch it off.
In the meantime, I noticed also that the storage for people_finder after changing Find button parameter is turned to "overriden" instead of "default".

Then I made other few tries, editing other parameters to observe differences.
One of the log was previously :
Undefined property: stdClass::$no_results_configured in finder_ui_i18n_string_translate_strings() (line 155 of /mysite/sites/all/modules/finder/modules/finder_ui/finder_ui.i18n_string.inc)

After editing "Redirect to result" parameter to "Best" and apply, the previous log didn't display. Instead, a new line in i18n_string table was added in mysite database with objectid: setting.no_result_configured.

Then I disabled the Finder UI module and the error messages don't display, the autocomplete still works.

I don't know if all this helps.
Cheers

peacog’s picture

Version: 7.x-2.0-rc2 » 7.x-2.0
Status: Active » Needs review
StatusFileSize
new651 bytes

I had this error too. I've rolled a small patch against 7.x-2.0 that simply checks if the string object exists before trying to translate it.

tritof’s picture

It works for me, thanks a lot !
No error messages while changing parameters anymore.

mths’s picture

Patch seems to work for me too.

yce’s picture

Patch seems to work. thanks.

alienzed’s picture

patch worked, although I wonder what's going on in i18n that throws those to begin with...

bendev’s picture

patch is working thanks

ytsejam’s picture

Works for me too, thanks!

Dandily’s picture

Doesnt work for me. Site is white screen.
In admin are those errors:

Warning: array_combine(): Both parameters should have an equal number of elements in function i18n_string_textgroup_default->multiple_translate() (строка 967 in file ***/sites/all/modules/i18n/i18n_string/i18n_string.inc).
Warning: Invalid argument supplied for foreach() in function i18n_string_textgroup_default->multiple_translate() (строка 971 in file ***/sites/all/modules/i18n/i18n_string/i18n_string.inc).
Warning: array_combine() expects parameter 2 to be array, boolean given in function i18n_string_textgroup_default->multiple_translation_search() (строка 871 в файле ***/sites/all/modules/i18n/i18n_string/i18n_string.inc).

7.2

cirrus3d’s picture

Issue summary: View changes

I can confirm this happens to me without the patch. Will this be resolved without patching?

kbell_paris’s picture

I am getting the same errors as Dandily, but I am not using the finder ui. I filed an issue on i18n_string over here: https://www.drupal.org/node/2384991 Any help on this much appreciated.

tommann’s picture

Patch works for me

  • danielb committed bbd3d35 on 7.x-2.x authored by Peacog
    Issue #1781232 by Peacog: Undefined property: stdClass::$footer in...
danielb’s picture

Version: 7.x-2.0 » 7.x-2.x-dev
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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