• Updated to latest version and was met with this “Fatal error: Call to undefined function mb_substr() in /home/data/www/blog/wp-content/plugins/statpress-reloaded/statpress.php on line 295” after enableing it again clicking in “Statpress” in the menu.

    Help anyone ?

    It worked fine before update.

Viewing 6 replies - 1 through 6 (of 6 total)
  • It seems you have quite an outdated PHP version.
    mb_substr() needs (PHP 4 >= 4.0.6, PHP 5), what’s your version?

    I have the same problem

    PHP Version 4.4.7

    MultiByte-Support needs to be enabled, there should be an extensions called “php_mbstring” – it is needed to be activated in your php-configuration.

    I can’t do it, I can’t edit the php-configuration, it’s my provider who can !

    This means I won’t be able to use the plugin anymore?

    matrixagent

    (@matrixagent)

    I fear so. MultiByte-support is a PHP feature that any provider should support by now, it has been in there for years. Sadly it’s no default-on option, as more and more software is using it (next major vBulletin for example will also require it iirc).

    hironico

    (@hironico)

    hi folks,

    I got the same problem.
    I looked at the statpress.php file and discovered that unless you’re living in a country with multibyte characters (eg Japan, China etc…) then you can safely use the old ‘normal’ version of this function. Here’s what you have to do:

    please open the file named statpress.php with your favorite TEXT file editor (notepad will be fine). then replace all occurences of the word ‘mb_substr’ with ‘substr’. Save the changes and upload the newly modified statpress.php file on your webserver. Et voila !

    Cheers!

    hironico.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: StatPress Reloaded] Error after update’ is closed to new replies.