Support

Account

Home Forums Bug Reports Unicode problem

Solved

Unicode problem

  • I’m trying to create fields with letters “ə”, “ü”, “ş”, “ç”, “ğ”, “ı”, but not works.

    This is screenshot while adding:

    After publishing (updating):

  • I solved this problem myself.

    in /plugins/advanced-custom-fields/core/fields/_functions.php Line: 330
    change maybe_unserialize() to unserialize()

    before:

    $field = maybe_unserialize( $field );
    $field = maybe_unserialize( $field ); // run again for WPML

    now:

    $field = unserialize( $field );
    $field = maybe_unserialize( $field ); // run again for WPML
    • Elliot

    • July 18, 2013 at 12:53 pm

    Hi @capitol

    I’m glad your solution works for you however, it will not be rolled out into the core updates as this could have catastrophic issues across different servers.

  • @eliiot ,
    Which catastrophic issues I can face after this?

    • Elliot

    • July 20, 2013 at 12:13 pm

    Hi @capitol

    If the value is not a serialized array, your code will cause a PHP error and the website will crash

  • I’m facing that problem right now, any idea how to fix it the right way ?

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.