WordPress.org

Forums

Cimy User Extra Fields
[resolved] MAX LEN, EXACT LEN, MIN LEN bug with UTF-8 encoding (6 posts)

  1. gam6itko
    Member
    Posted 2 years ago #

    In file cimy_uef_register.php you should use function mb_strlen instead of strlen.

    Maybe in others php files too.

    http://wordpress.org/extend/plugins/cimy-user-extra-fields/

  2. gam6itko
    Member
    Posted 2 years ago #

    Function substr also must be replaced by mb_substr

  3. Marco Cimmino
    Member
    Plugin Author

    Posted 2 years ago #

    Will look into it, thanks.

  4. jrmihalick
    Member
    Posted 1 year ago #

    I am getting this error with the latest version when I try to submit a new registration with empty fields that are required.

    Fatal error: Call to undefined function mb_strlen() in /home/oliberty/public_html/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php on line 602

  5. Marco Cimmino
    Member
    Plugin Author

    Posted 1 year ago #

    Oh man, you are right, is not enabled by default on PHP :/
    http://www.php.net/manual/en/mbstring.installation.php

    Will fix it.

  6. Marco Cimmino
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed in v2.5.5, you can have a preview here:
    http://downloads.wordpress.org/plugin/cimy-user-extra-fields.zip

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Cimy User Extra Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic