• Resolved ahundov

    (@ahundov)


    Hi,
    Today I started the day with the WordPress 5.7 update.
    Environment: Elementor Pro, builder, Bloksy theme, latest WP version.

    I am using CPT UI to create a product catalog. I needed to add a couple more products today, started to create them fine, but then noticed that nothing happens after hitting the Publish button. The products aren’t being saved at all. Existing products are displayed just fine, but I cannot seem to add any new ones.

    I checked if I could add new regular pages or posts, and yes, both work fine. I am only having the issue with the Product posts create with CPT UI.

    Can you help me figure out what is going on?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    If this is on a staging/dev site, then my first recommendation would be temporarily disabling things like Elementor Pro and Builder and just use either Block editor or classic and see if the issue persists.

    Unsure if you know about browser developer tools at all, but i’d also end up checking the javascript console to see if anything is showing up there as well.

    Those could provide more leads than I have off the top of my head.

    eclair123

    (@eclair123)

    I am having the same issue. I am using the classic editor and when I try to update the page with a new taxonomy the page updates but the new taxonomy field goes back to blank.

    • This reply was modified 4 years ago by eclair123.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    still not managing to recreate with a post type registered with CPTUI, a taxonomy registered with it too, and the classic editor.

    Also tried the block editor with similar success.

    @eclair123 Similar general questions and thoughts for you above as well. Any chance of disabling everything until it’s just CPTUI and WP 5.7 would help isolate and then we could expand until things come back.

    eclair123

    (@eclair123)

    The site is live so I am not sure I want to disable everything

    I noticed that a team member added a new post using a front end form and she managed to add something in the new taxonomy field.

    So – the thing that doesn’t work is to add something to an existing post. The older taxonomies still work, it is just the taxonomy that I created after wordpress 5.7 that won’t save. And again, its fine when I create a new post – but I can’t add the new teaxonomy items to an existing post.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    understandable about not wanting to disable things, part of why i mentioned any dev/staging sites.

    Trying to narrow things down here to do my best to verify and then debug what may be going on.

    To clarify, are you registering a brand new taxonomy with CPTUI for this? or are you creating a new term within your existing taxonomy, and trying to assign that term to the existing post? My hunch is you mean term, and it was created/added after the upgrade,

    For some clarification “tags” are terms in the “post_tag” taxonomy, and “categories” are terms in the “category” taxonomy. If I had a taxonomy of “genre” then “rock” could be a term in the taxonomy, alongside “country”

    eclair123

    (@eclair123)

    When I deactivated Advanced Custom Fields it allowed me to save my new taxonomy…. but I can’t keep it deactivated. Does that info help you find a fix?

    eclair123

    (@eclair123)

    To clarify, are you registering a brand new taxonomy with CPTUI for this? or are you creating a new term within your existing taxonomy, and trying to assign that term to the existing post? My hunch is you mean term, and it was created/added after the upgrade,

    I registered a brand new Taxonomy, no problem. I can add to the list of terms within that taxonomy no problem. The issue is when I assign the term to an existing post. The new taxonomy was created after 5.7

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I’d need to check and test with the ACF detail in place sometime tomorrow or friday, but I suspect something is going on with their plugin and the latest WordPress version way more than something with CPTUI. I’m suspecting probably some sort of javascript error going on.

    With it working without ACF enabled, it tells me it’s not a CPTUI + WP5.7 thing, but more a ACF + WP5.7 in some way. It just happens to be happening on a post editor screen from a post type registered with us.

    eclair123

    (@eclair123)

    Yeah – that sounds fair. I would appreciate if you had a chance to test it at some point and for the time being I will make my edits with ACF disabled

    khatibpour

    (@khatibpour)

    I have a problem almost similar to the WordPress 5.7 update.

    (I’m sorry if I can not write good English, unfortunately my language is not good)
    After I updated my website,
    The elementor and customization icon was removed from the black toolbar at the top of the screen, and some features of the elementor were disabled (such as showing recent posts as slides)

    I noticed that there is no problem when a post is in draft mode, but as soon as that page or post is published, the problems I mentioned occurred.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @eclair123 not having any issues still, even with ACF active, a field created for the post type, and a term in a taxonomy created after the 5.7 update.

    If you’re able to screenshot your Browser’s developer tools and the “Console” tab, I can check it for anything immediately obvious, otherwise, I think a check in with ACF support may be your best next step.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @khatibpour Not sure what to suggest there, as I’m not really able to do any sort of deeper debugging here and it’s sounding to me more Elementor side than CPTUI. If you can get to the editor screen of the post type, then CPTUI’s done it’s primary job.

    khatibpour

    (@khatibpour)

    The problem I mentioned above was solved.

    Note these three points:

    One is that like me, do not enable automatic WordPress update, because in this case, if you restore your website backup, it will update itself again.

    Second, the 5.7 update seems to have a problem with the elementor (in my case, it was like this), so if you work with the elementor, do not update.

    Third, if your situation is like me, you can with wp downgrade, return it to the previous version and everything will be fine, just disable the automatic update before that.

    Thread Starter ahundov

    (@ahundov)

    Michael, thank you for your replies to this thread! To clarify, the issue I was reporting did not relate to adding new taxonomy. The issue was adding new posts that were registered before the WP5.7 update (in my case the PRODUCTS Custom Post). I did some further testing this morning just to make sure the issue is still there or was resolved somehow. It is still there. So, let me break it down to two cases:
    1) Product posts created prior to the WP5.7 update – they are displayed fine on the frontend or the backend. It seems like there are no issues, however, when I tried to change the featured image on one of these posts, the new image was not saved. Similarly, if I changed the values in one of the existing taxonomy linked to the Products CPT, those changes would not be saved either.
    2) this is what I reported originally – I am not able to create new Products (not new categories or tags). I go to the All Products, click Add New, then add the needed content, select related category, tags, etc, add a featured image … all seems to work … until I press the PUBLISH button. There is no response to this button push. I tried t give it more time to register, but no, no matter how long I wait the new product item is not being saved.
    I do not have a whole lot of plugins added to this WP instance. Here they are:
    Blocksy Companion – the plugin that comes with the Bloksy theme
    CPT UI
    Elementor
    Elementor Pro
    Essential Addons for Elementor
    Happy Elementor Addons
    Search and Filter Pro
    Search and Filter Elementor Extension
    Updraft Plus
    WP Optimize.
    I tried to disable the plugins and found out that the only way the issue is going away is by disabling Elementor – in that case, I can add new product posts, and then re-enable Elementor to display them on the website. But obviously, this is not an optimal process. So, it seems some sort of conflict is taking place between Elementor and CPT UI after the WP5.7 update. I tried to report the issue to Elementor, but good luck hearing back from them. To be honest their Support is about the worst in the industry. I hope as the plugin author you have a better way of communicating with the Elementor devs.

    By the way, if this is going to be of any help to you, I can provide login details to this WP instance. Let me know please.

    • This reply was modified 4 years ago by ahundov.
    Thread Starter ahundov

    (@ahundov)

    I just tried to further test the conflict between the CPT UI and Elementor and this is what I did:
    1. Elementor Settings page > unselected “Products” from the list of Post Types supported by Elementor
    2. Attempted to add a new product (all plugins active) and now I was able to successfully add a new product post.
    So, as long as I do not edit the Product posts using Elementor, the issue is not present. But If I want to use the Product “single” template created with the Elementor, then the issue comes back.

    • This reply was modified 4 years ago by ahundov.
Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Issues after WordPress 5.7 update’ is closed to new replies.