• Resolved diablo943

    (@diablo943)


    I get the following error when I try and “Complete” the installation:

    Fatal error: Call to undefined function mb_convert_case() in /home/gjart/public_html/wp/wp-content/plugins/breadcrumb-navxt/breadcrumb_navxt_admin.php on line 847

    I am running WP 3.2.1 on the latest version of PHP5.

    I am attempting to use the plugin with the PageLines Pro theme.

    The documentation site appears to be down.

    I would appreciate some assistance!

    Thanks in advance,
    Dave

    http://ww.wp.xz.cn/extend/plugins/breadcrumb-navxt/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik

    (@mtekk)

    You need multibyte string function support in your PHP install. Bug your webhost about this as most already provide this as everyone should have this by default (it is not the default PHP configuration but it is one of the few options that every webhost should enabled).

    See http://www.php.net/manual/en/mbstring.installation.php

    If your host won’t turn on the mb string stuff, you can just edit the plugin files yourself to avoid the issue. There are three calls to mb_convert_case in breadcrumb_navxt_admin.php where one could use function_exists to test for mb_convert_case before attempting to use it, like so:

    function_exists('mb_convert_case') ? mb_convert_case(__($taxonomy->label), MB_CASE_TITLE, 'UTF-8') : __($taxonomy->label)

    There are also two calls to mb_substr in breadcrumb_navxt_class.php that can be replaced with something like this:

    function_exists('mb_substr') ? mb_substr($this->title, 0, $max_length - 1) : substr($this->title, 0, $max_length - 1)

    After those conditionals are covered, the plugin works as planned (or did for me).

    @mtekk: Maybe you’ll consider adding these conditions in the next version as the multibyte string function are common but not part of the default PHP install.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Breadcrumb NavXT] Fail on Complete Installation’ is closed to new replies.