WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms - Update Post
“a:0:{}” appears in some custom fields (2 posts)

  1. srumery
    Member
    Posted 1 year ago #

    “a:0:{}” appears in some custom fields. It’s weird because it doesn't display in the admin when I edit the post, just on the custom post single page when I write the contents of the custom field. Here are some details:

    1. the custom post is created in the admin – empty fields remain empty
    2. the post is edited with GF forms and the Update Post plugin – after the form is saved, the empty fields now contain “a:0:{}”. This string is display on the public post page but not in the post editor in the WP admin.
    3. if the post is then “Updated” using the post editor in the WP admin, ”a:0:{}” is stripped from the field and it no longer displays on the public post page.

    Has anyone seen this before?

    http://wordpress.org/extend/plugins/gravity-forms-update-post/

  2. roosalles
    Member
    Posted 1 year ago #

    I've seen that in my custom fields, too. Shouldn't it be saved as empty string instead of "a:0:{}"?

    Any fix for that?

    thanks,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.