• Resolved ovangmbh

    (@ovangmbh)


    The backend preview is not working with current Pro-Version “5.7.7”. The get_field always returns null when its in preview mode and “draft”. The post type is just “page”, not a custom post type. Its only when the post status is “draft” (“pending” or “publish” is working in preview mode).

    When I deactivate your plugin “ACF User Role Field Setting”, it works well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Huebner

    (@hube2)

    This plugin removes the fields that are not supposed to be edited. Since they are removed they are not submitted and because they are not submitted they are not include in the draft version of the post.

    The only time this plugin should effect the draft is if the user editing the post is not allowed to edit the field in question. Is this the case? Is this plugin effecting a field that the user can edit?

    Thread Starter ovangmbh

    (@ovangmbh)

    The fields has no limited permissions to a special user role, its set to “All”. I’m logged in with the role “Administrator”.

    Plugin Author John Huebner

    (@hube2)

    I’ll need to do some testing. As far as I know there is nothing in this plugin that should affect WP operation for fields that are not limited.

    Can you please give me the steps to reproduce this.

    Plugin Author John Huebner

    (@hube2)

    I cannot recreate the issue you are having.

    I am testing on a site that is using a 20XX theme. It only has ACF and this plugin activated.

    I have tried

    • previewing a post before saving (enter info an click on preview)
    • previewing a draft post(enter info, save draft, preview)

    Each time before previewing I change the value in a test ACF field.
    The updated value is always visible and updated in the preview.

    What other plugins do you have active on the site? Have you tried deactivating other plugins?

    Do you have any type of caching plugin or other caching mechanism installed?

    Thread Starter ovangmbh

    (@ovangmbh)

    Thanks for your help. There was another plugin which hooked into the “save_post”. So this is working now.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Preview is not working’ is closed to new replies.