Viewing 4 replies - 1 through 4 (of 4 total)
  • Dear Oskarlin,

    Usually corrupted data is because of menu_icon property,
    if it’s changed manually in DB or replaced using some search&replace script.

    If that is case, you should search for ‘wpcf-custom-types’ option in wp_options table and find something similar to:


    s:9:"menu_icon";s:XX:"http://XXXXXX";

    replace with:


    s:9:"menu_icon";s:0:"";

    You should do that for all occurrences.

    Tell me if this helps.

    Hi Oskarlin,
    thank you for reporting that, we’ll have check with PHP 5.4.

    Thread Starter oskarlin

    (@oskarlin)

    Adriano, I’ve looked for “menu_icon” and my table already looks exactly like what I’m supposed to replace it with:

    s:9:"menu_icon";s:0:"";

    Thread Starter oskarlin

    (@oskarlin)

    I have now tried installing a fresh WordPress site on PHP 5.4 and Types plugin on another place and everything works fine. So it doesn’t seem to be a problem with Types and 5.4 per se.

    I wonder if it could have something to do with slug names or perhaps charset or encodings? For some old reason the char set is “latin1_swedish_ci” so maybe there’s something there? I then tried to change all “weird” letters in wpcf-custom-types option to standard ones but same problems occur.

    Also for you to know, when accessing edit.php?post_type=myposttype on PHP 5.4 WordPress tells me “Invalid Post Type” as if it doesn’t exist anymore.

    If I downgrade to 5.3 everything is back to normal.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Types with PHP 5.4?’ is closed to new replies.