When I added the language (russian) and and tried to create (or edit new) Deal - getting an error message:
Notice: Undefined index: ru in opendeals_module_is_active() (line 58 of /home/mysite.ru/profiles/opendeals/modules/custom/opendeals_module/opendeals_module.module).
Notice: Undefined index: ru in opendeals_module_is_active() (line 58 of /home/mysite.ru/profiles/opendeals/modules/custom/opendeals_module/opendeals_module.module).
Notice: Undefined index: ru in opendeals_module_is_active() (line 58 of /home/mysite.ru/profiles/opendeals/modules/custom/opendeals_module/opendeals_module.module).
Notice: Undefined index: ru in opendeals_module_is_active() (line 58 of /home/mysite.ru/profiles/opendeals/modules/custom/opendeals_module/opendeals_module.module).
Notice: Undefined index: ru in include() (line 243 of /home/mysite.ru/profiles/opendeals/themes/opendeals_theme/node--deal.tpl.php).
Notice: Trying to get property of non-object in include() (line 243 of /home/mysite.ru/profiles/opendeals/themes/opendeals_theme/node--deal.tpl.php).
Comment | File | Size | Author |
---|---|---|---|
#3 | img2.JPG | 47.83 KB | lahiponeja |
Comments
Comment #1
rezysfaktor CreditAttribution: rezysfaktor commentedHello, I have exactly the same problem, I use this assembly with a translation into Russian and throws this error. help to correct ...
Comment #2
lahiponeja CreditAttribution: lahiponeja commentedHello, I have exactly the same problem, I use this assembly with a translation into Spanish...and throws this error. help to correct ...
Comment #3
lahiponeja CreditAttribution: lahiponeja commentedI've noticed that when you install a new language, the Opendeals module does not work with the value of language variable node. For the same reason any deals to be believed, appears Sold Out.
I made a very crude fix, but for now, as it sends the solution, it works correctly.
I set the default "und" if the variable is empty. See attached.
Paula Restrepo
lahiponeja@gmail.com
Comment #4
nchar CreditAttribution: nchar commentedComment #5
mxa055 CreditAttribution: mxa055 commentedI have the same problem in the latest version (beta 5) is there an official fix for it, or just the above hack?
Comment #5.0
mxa055 CreditAttribution: mxa055 commentedadd info