• I had this working a while back, but for some reason its stopped. I’ve disabled all other plugins and only left this running but still the error persists.

    I have a page with the following in it;
    [wiki-embed url='https://wikitravel.org/en/Amsterdam' tabs no-edit no-contents no-infobox ]

    When viewing the page, it errors with
    Fatal error: Call to undefined function mb_convert_encoding() in /home/mydomain/public_html/wp-content/plugins/wiki-embed/WikiEmbed.php on line 676

    When I view the Wiki Embed List, it makes no difference if there is a Target URL assigned or not, and all show that CACHE is expired. I’ve set it so that it updates content from the wiki on a daily basis and have also tried adding the ‘?action=render’ option at the end of the URLs – all with no joy.

    Does anyone have any ideas?

    https://www.ads-software.com/extend/plugins/wiki-embed/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Chris

    (@frostie)

    Turns out that commenting out line 676 of WikiEmbed.php has made it work again.

    // $wiki_page_body = mb_convert_encoding($wiki_page_body, 'HTML-ENTITIES', "utf8");

    Plugin Contributor Enej Bajgori?

    (@enej)

    Thanks for reporting this. It seems that your PHP version doesn’t have that function. I will make sure to check for the existence of it in the next update.

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Wiki Embed] Call to undefined function mb_convert_encoding() in WikiEmbed.php on line 676’ is closed to new replies.