Drupal 7.10

Have a taxonomy vocabulary of ~2000 terms. Turning on the Mark Terms in Context generates 2,000 copies of this error on the node display pages:

Warning: mb_strpos(): Empty delimiter in _lexicon_insertlink() (line 726 of C:\htdocs\sites\all\modules\lexicon\lexicon.module).

I've tried the different term matching settings to no avail.

Where might I look for a configuration problem?

CommentFileSizeAuthor
#2 lexicon_empty_delimiter.patch542 bytesaries

Comments

TimelessDomain’s picture

I believe that this is because of
$synonym,

After removing that, the errors disappeared & the code continues to work.

aries’s picture

Status: Active » Needs review
StatusFileSize
new542 bytes

It's version-independent, I had similar issue with 6.x.
If the synonym is empty (e.g. an accidental newline between the synonyms) then this happens.

A small patch against 6.x attached.

Status: Needs review » Needs work

The last submitted patch, lexicon_empty_delimiter.patch, failed testing.

marty2081’s picture

Status: Needs work » Postponed (maintainer needs more info)

For the 7.x version the cause of the warning cannot be that a synonym has an accidental newline, since in the D7 version the synonyms are implemented using a multiple text field. Since there is no more information and I cannot reproduce this warning I cannot find the cause of the error. Do you have the same warning with the current dev version of the module?

marty2081’s picture

Issue summary: View changes

added drupal subversion