• Resolved daniel84uk

    (@daniel84uk)


    Warning: preg_replace_callback(): Compilation failed: unmatched parentheses at offset 7 in wp-content/plugins/wp-monalisa/wpml_func.php on line 218

    `// capture the tags as well as in between
    $stop = count($textarr);// loop stuff
    for ($i = 0; $i < $stop; $i++) {
    $content = $textarr[$i];

    if ((strlen($content) > 0)) {
    // && (‘<‘ != $content{0})) {

    //If it’s not a tag
    $content = preg_replace_callback($wpml_search,
    ‘wpml_translate_emoticon’,
    $content);

    }
    $output .= $content;
    }
    return $output;
    }`
    any ideas? Thank you.

    https://www.ads-software.com/plugins/wp-monalisa/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author tuxlog

    (@tuxlog)

    Seems you have found an emoticon which is not handled properly by wp-monalisa. Can you post your emoticons please (e.g. ?? )

    Thread Starter daniel84uk

    (@daniel84uk)

    Thanks for the response.

    I have used the stock configuration, i haven’t added anything. As soon as i activate the plugin, i get that error. Do i have to do any extra steps like map all the emotions or is it suppose to work out of the box?

    Plugin Author tuxlog

    (@tuxlog)

    Actually it should work out of the box. Last time I heard about this problem it was an invalid emoticon something like ‘

    But you can send me an admin account for your site and I will take a look at it if you want me to.

    Thread Starter daniel84uk

    (@daniel84uk)

    Youre a star.

    Thread Starter daniel84uk

    (@daniel84uk)

    Is there no private message function here, or am im being stupid? my excuse is its 4am lol.

    Where can i contact you privately?

    Thanks.

    Plugin Author tuxlog

    (@tuxlog)

    Click on my site link (left side behind tuxlog.
    Select the eMail icon on the top right which looks like an envelope.

    Thread Starter daniel84uk

    (@daniel84uk)

    Im stupid. I hadnt mapped the smilies properly lol.

    Thanks for your help ??

    Plugin Author tuxlog

    (@tuxlog)

    Great to hear you found it.
    Have Fun with wp-monalisa

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Compilation failed: unmatched parentheses wpml_func.php on line 218’ is closed to new replies.