I've just installed Word Link (7.x-2.10) on a local (Drupal 7.28) site and imported a list of about 5630 words from a pre-created taxonomy, and everything seemed to work fine. But as soon as I access a node, the only test node where there should be links created I get the following error:

"Warning: preg_match_all(): Compilation failed: regular expression is too large at offset 128369 in word_link_convert_text() (line 347 of C:\xampp\htdocs\ifnew\sites\all\modules\word_link\word_link.module).
Warning: preg_match_all(): Compilation failed: regular expression is too large at offset 128369 in word_link_convert_text() (line 347 of C:\xampp\htdocs\ifnew\sites\all\modules\word_link\word_link.module)."

Is this a known issue because of the large amount of Words maybe? Any help is greatly appreciated as I'm working on a large site for a client where this functionality is one of my main concerns.

Thanks

Comments

paravibe’s picture

Title: Warning: preg_match_all(): Compilation failed: regular expression is too large at offset 128369 in word_link_convert_text » Regular expression is too large
Category: Support request » Bug report
Status: Active » Needs work

Thanks for the report. Will try to fix it ASAP.

  • paravibe committed d849f25 on 7.x-2.x
    Issue #2300615, by MilanMilosevic: Regular expression is too large.
    
paravibe’s picture

Status: Needs work » Fixed

Fixed.

Status: Fixed » Closed (fixed)

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