• Resolved donald97

    (@donald97)


    with gloss plugin, you might get an error like this:

    Warning: ereg() [function.ereg]: Invalid preceding regular expression in /…/wp-content/plugins/gloss/glossary.php on line 155″

    to fix this error, simply edit line 155 of glossary.php and escape the braces like this

    while(ereg('(\{TERM=[0-9]+\})',$content, $match)){
    instead of
    while(ereg('({TERM=[0-9]+})',$content, $match)){

    save your changes and it is done !

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘error on line 155 of glossary.php’ is closed to new replies.