WordPress.org

Ready to get started?Download WordPress

Forums

Type V: not enough input, need 4, have 0 (3 posts)

  1. SEO Programmer
    Member
    Posted 5 years ago #

    I keep getting this error when I activate the Dutch language pack. And as it seems this is a known issue however the work arround offered by codestyling does NOT work.

    http://www.code-styling.de/english/wordpress-error-during-translation-file-usage-the-reason

    I have tested a performant patch that solves this issue. There is a bug inside PHP implementation. Sometimes, rarely the substr() function returns wrong results even if input values are ok. Can be found here:
    http://trac.wordpress.org/ticket/5599#comment:14
    or currently as german acticle here:
    unpack errors at gettext.php
    the english translation follows soon.

    I have tried the first server side option by placing the folowing code in my .htaccess file:

    PHP_VALUE mbstring.func_overload 0

    It did not work (aldough the errors seem to apear less frequent)

    I also tested a PHP version of the above settings, as on some servers this would be the only option to do it:

    <?php
    ini_set('mbstring.func_overload', '0');

    And I also installed the streams.php patch, which also did not work. I also tried to put back the original streams.php file and then try to use the .htaccess or PHP solution but nothing worked...

    I keep getting the Type V: not enough input, need 4, have 0 error...

    What should I do?

  2. SEO Programmer
    Member
    Posted 5 years ago #

    Anyone?

  3. Tom_
    Member
    Posted 5 years ago #

    I changed "define ('WPLANG', 'FR_fr');"
    to
    "define ('WPLANG', '');"

    in config.php..works fine

Topic Closed

This topic has been closed to new replies.

About this Topic