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

CommentFileSizeAuthor
#4 icl_content.patch507 byteslpalgarvio
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brucepearson’s picture

I assume you have the nodewords module enabled. I'm not sure why _nodewords_detect_type_and_ids() would be undefined in that case.

lpalgarvio’s picture

Version: 6.x-1.3 » 6.x-1.5

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

brucepearson’s picture

Status: Active » Fixed

I've removed the call to the nodewords function, it wasn't needed.

lpalgarvio’s picture

Status: Fixed » Active
FileSize
507 bytes

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

lpalgarvio’s picture

eh, 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

DamienMcKenna’s picture

Status: Active » Fixed

I believe brucepearson resolved this above (comment #3).

Status: Fixed » Closed (fixed)

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