WordPress.org

Forums

[Codestyling Localization] fatal error when activating the plugin (3 posts)

  1. metakappa
    Member
    Posted 4 years ago #

    Activating Codestyling Localization plugin, a fatal error occurs at line 974 of source includes/idna_convert.class.php
    Reading on the web everybody seems very happy about this plugin: is that error occurring only to me ?

    Codestyling Localization version 1.99.10
    Wordpress (3.1.1)
    Buddypress(1.2.8)

    Error is originated in the line "return strlen((binary) $string);". See here below

    protected static function byteLength($string)
    {
    if (self::$_mb_string_overload) {
    return mb_strlen($string, '8bit');
    }
    return strlen((binary) $string);
    }

    Did you know about it?

  2. garyyung
    Member
    Posted 4 years ago #

    I'm having the same exact problem. the plugin seemed to work with wordpress 3.0

    did you manage to solve the problem metakappa?

  3. codestyling
    Member
    Posted 4 years ago #

    This has been changed in plugin version 1.99.11
    But it can only be handled by limiting the IDNA Feature to PHP versions >= 5.2.1 because of later introduced type casts necessary for convertion.
    Your hosters seems to use a lower version. If you haven't and IDNA Domain, all is fine. If you have one, please upgrade your PHP version.

Topic Closed

This topic has been closed to new replies.

About this Topic