• Resolved mindvox

    (@mindvox)


    Hi, the Custom Post Type posts are not updating in the administration edit section. Posts are not saving. When I click the update button nothing happens, and I get no messages on the console. However it does respond when I have some incomplete text fields that need to be filled out. IE it allows me to do HTML 5 checks. But after everything is filled I go to click ‘Update’ and nothing happens. No loading circle appears. Nothing. It just started happening after I updated to WordPress 5.0.1.
    Latest version of CPTU 1.6.1. All browsers. No console errors detected. Was previously working before some updates. Also we just switched to a dedicated server.

    Thanks

    • This topic was modified 6 years, 2 months ago by mindvox.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    If you have a dev site, can you test with all other plugins disabled and just WP core + CPTUI active?

    There’s nothing that we’re presently aware for explicit conflicts with WP core, since we stick strictly to the parameters for register_post_type and register_taxonomy` functions, we don’t do anything custom for them.

    Because of this, I’m wondering if it’s a conflict coming from a different plugin, or core itself. If we find it’s somehow something specific to our plugin, we’ll definitely help address as best possible, but need to identify and confirm those cases. ??

    Thread Starter mindvox

    (@mindvox)

    Thanks very much Michael, Yes I have a cloned dev site running it. We are using Advanced Custom Fields, I’ll turn it off.
    I will disable all other plugins too and test.

    Thread Starter mindvox

    (@mindvox)

    I just disabled every other plugin except Advanced Custom Fields Pro which provides all of the fields into a CPTUI form but the form still does not update. Without that plugin we cant have a form except the basic form with no fields. However if I do de-activate ACF, the CPTUI form now updates correctly. I have all latest versions installed.
    It could be a rouge ACF element that was added recently but I havent added a new element in a long time and I’ve been using the update button fairly recently with success. But maybe its that or just a version conflict.

    • This reply was modified 6 years, 2 months ago by mindvox.
    Thread Starter mindvox

    (@mindvox)

    Im sorry, I do get this error message when clicking the Publish or Update buttons. I am not able to Publish nor Update. Im thinking its a corrupt ACF form control?
    ERROR::::
    An invalid form control with name=” is not focusable.

    Got this from a post:
    “Chrome wants to focus on a control that is required but still empty so that it can pop up the message ‘Please fill out this field’. However, if the control is hidden at the point that Chrome wants to pop up the message, that is at the time of form submission, Chrome can’t focus on the control because it is hidden, therefore the form won’t submit.

    So, to get around the problem, when a control is hidden by javascript, we also must remove the ‘required’ attribute from that control.”

    • This reply was modified 6 years, 2 months ago by mindvox.
    • This reply was modified 6 years, 2 months ago by mindvox.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Definitely sounds like things coming from ACF Pro, because CPTUI doesn’t explicitly add anything to the editor screen. The only things that “would be” are from WordPress core itself, based on the arguments used with the registration of the post type.

    It’s definitely a lead to look into.

    Thread Starter mindvox

    (@mindvox)

    It most likely is. I am contacting them now. Looks like a bug with their required fields. I was able to turn off Required in 4 different ACF sections and now the form is updating again. Success.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Awesome to hear that you have a working solution for the moment, and that they’ve been made aware of the issues so they can help resolve.

    Thanks for the followup @mindvox

    Hi,

    I have created post using CPT UI plugin and custom post type data is display in wp admin but i want to change custom post type query to add condition of post meta fields.

    How can i do this?

    Please help me.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I have a similar issue, but it’s where the updates aren’t reflecting in the post type.

    e.g I had author disabled, then I enabled it, but it’s not showing me the author edit box anywhere.

    Ah nevermind, it just didn’t register for a while even after I cleared my cache. It started appearing now all of a sudden

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Custom Post Type posts not updating in administration edit’ is closed to new replies.