• Resolved jstokrooshayonanl

    (@jstokrooshayonanl)


    Hello,

    For a website we use ACF Table Field to save price data in posts, but recently we got an issue. When we create new posts using wp_insert_post(), one field in the posts is being saved as a UTF-8 string instead of a serialized JSON object. All the other fields are correctly saved as serialized JSON objects.

    After saving the post manually the table field is saved correctly to the database. After trying to find out what was causing the issue, I couldn’t find it. So I thought I’d post here for help.

Viewing 1 replies (of 1 total)
  • Thread Starter jstokrooshayonanl

    (@jstokrooshayonanl)

    Didn’t notice the ‘Third party plugins issues’ section in the FAQ, adding define( "ACF_TABLEFIELD_FILTER_POSTMETA", false ); to wp-config.php resolved the issue.

Viewing 1 replies (of 1 total)

The topic ‘Problem with a table field save’ is closed to new replies.