Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I add project with name PROJECT, filled all fields.
I add project release, select PROJECT. And after have an error:
Notice: Undefined index: ru in function project_release_get_version_format() (line 779 in file /sites/all/modules/project/release/project_release.module).
Notice: Undefined index: ru in function project_release_form_node_form_alter() (line 622 in file /sites/all/modules/project/release/project_release.module).
PROJECT does not have project releases enabled.
Index: ru - is this Russian language? i have installed default language Russian.
Comment | File | Size | Author |
---|---|---|---|
#6 | 2163051-remove_language-6.patch | 40.05 KB | japerry |
Comments
Comment #1
drummDoes changing
$project->language
toLANGUAGE_NONE
on the lines with errors help out?Comment #2
VVS CreditAttribution: VVS commentedYes, project release created, but after saving have an errors:
does not have project releases enabled.
Comment #3
VVS CreditAttribution: VVS commentedI changed all
*->language
toLANGUAGE_NONE
. And all working, imho.Comment #4
japerryheh. Enabled locale and we're seeing this as well. patches incoming.
Comment #5
japerryHere is a patch removing references to a language
Comment #6
japerryoops. ignore #5 it includes some views work that isn't relevant here.
Comment #7
drummLooks okay, committed.