There appears to be an issue with this module and search module, when a search yields results the following error is generated:

Call to undefined function wordfilter_filter_process() in modules/phonetic/phonetic.module on line 224

CommentFileSizeAuthor
#2 phonetic.module.test5.92 KBbyronveale

Comments

byronveale’s picture

Yeowch, yes I got this error too -- that's a dealbreaker, for sure...

Hmm, totally ignorant when it comes to php coding, but here's line 224:

$node->body = wordfilter_filter_process($node->body);

and just above, in line 219:

$node->title = phonetic_filter_process($node->title);

...so maybe changing "wordfilter_filter_process" to "phonetic_filter_process" will fix this?

I'll try tomorrow, cross your fingers...

byronveale’s picture

Status: Needs review » Active
StatusFileSize
new5.92 KB

It worked! I had a false start when I tried modifying the dev version (figured I should start with that since work had begun there), but just modifying line 224 in version 6.x-1.1 seems to have fixed this search bug.

I attached the modified file to this comment.

Onward to the next bug...

byronveale’s picture

Status: Active » Needs review

anybody else want to try this? (see comment above)

jgoodwill01’s picture

Status: Active » Needs review

#1 fix worked for me as well. Much Thanks!

Weka’s picture

Priority: Normal » Critical
Status: Needs review » Reviewed & tested by the community

Yes, changing the code as suggested in #1 fixed the problem.
Thanks byronveale.
Is anyone able to commit this to a new release?

accessiveapps’s picture

The code was changed as described above in version 6 1.3 which was released today

accessiveapps’s picture

Status: Reviewed & tested by the community » Closed (fixed)
game’s picture

Hmmm oddly I have downloaded and installed the latest release 1.3 of this module and this error still exists :-/ when I checked phonetic.module it was in fact unchanged as per a previous version on line 224. changing the code as per comment #1 did fix this issue. Just thought I would let you peeps know just in case you thought it had been included in this release. Also I havent updated this module from a prev version it was simply downloaded and installed from 1.3 straight away.

Thanks again all

accessiveapps’s picture

Did you try downloading the dev version?

game’s picture

No but not a problem now as patching resolved the issue, hopefully this will be in the next stable release :-)