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.
Hey
caught this one on v.1.3. not sure it has been fixed as of v1.5
Fatal error: Call to undefined function _nodewords_detect_type_and_ids() in /translation/translation_management/icl_content/icl_content.module on line 3202
Comment | File | Size | Author |
---|---|---|---|
#4 | icl_content.patch | 507 bytes | lpalgarvio |
Comments
Comment #1
brucepearson CreditAttribution: brucepearson commentedI assume you have the nodewords module enabled. I'm not sure why _nodewords_detect_type_and_ids() would be undefined in that case.
Comment #2
lpalgarvio CreditAttribution: lpalgarvio commentedthis bug occurs on both v1.3 and 1.5
i've also traced the origin of it:
- nodewords-6-1.11 causes no problems
- nodewords-6-1.12-beta9 and 1.x-dev causes the problem
the function must have been replaced or renamed.
Comment #3
brucepearson CreditAttribution: brucepearson commentedI've removed the call to the nodewords function, it wasn't needed.
Comment #4
lpalgarvio CreditAttribution: lpalgarvio commentedi compared the source files of 1.11 and 1.12-beta9.
in nodewords.module, the function has been renamed
from _nodewords_detect_type_and_ids (line 1268 in 1.11)
to _nodewords_detect_type_and_id (line 813 in 1.12-beta9)
all it takes is rename the function call in translation_management/icl_content/icl_content.module
the only problem is... how you detect which nodewords version is running?
patch provided for usage with 1.12-beta9 and above.
Comment #5
lpalgarvio CreditAttribution: lpalgarvio commentedeh, i only noticed now that you were replying at the same time i replied, so i only saw your responses now.
thanks for fast replies =P
Comment #6
DamienMcKennaI believe brucepearson resolved this above (comment #3).