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).

CommentFileSizeAuthor
#3 img2.JPG47.83 KBlahiponeja
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rezysfaktor’s picture

Hello, I have exactly the same problem, I use this assembly with a translation into Russian and throws this error. help to correct ...

lahiponeja’s picture

Hello, I have exactly the same problem, I use this assembly with a translation into Spanish...and throws this error. help to correct ...

lahiponeja’s picture

FileSize
47.83 KB

I'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

nchar’s picture

Status: Active » Closed (fixed)
mxa055’s picture

Version: 7.x-1.0-alpha4 » 7.x-1.0-beta5

I have the same problem in the latest version (beta 5) is there an official fix for it, or just the above hack?

mxa055’s picture

Issue summary: View changes

add info