• Resolved yolandal

    (@yolandal)


    Hello, since your last update the Post Publish button is greyed out.
    It also disables Yoast.
    I’ve tested it many times, but this plugin comes out as the cause.

    I’m using Firefox 94.0.1 (64-bits) and WordPress 5.8.2.
    I’ve disabled all plugins with the Healtcheck tool, and the Checklist plugin is the cause of the disabling of the Publish button.
    All plugins are up to date.

    See the screenshot https://i.postimg.cc/mZqpK6X0/Screenshot-21.jpg

    Can you please fix this??

    • This topic was modified 3 years, 3 months ago by yolandal.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support htmgarcia

    (@htmgarcia)

    Hi @yolandal,

    1) Please confirm you are using Checklists 2.5.3.
    2) In addition, does the issue happens with a particular post type?
    3) Are there any items in red in the checklist box of the post edit?

    Regards

    Thread Starter yolandal

    (@yolandal)

    Hi Htmgarcia,

    1. Yes, I’m using 2.5.3.
    2. No, it happens with all kind of posts, concept and from publish to concept.
    3. The Publish button works correct when all checks are green. But in the previous version that could be overruled, with keeping the warning sign on the Publish button.

    I hope this helps to fix the issue!

    Thank you

    Plugin Support htmgarcia

    (@htmgarcia)

    Thanks @yolandal! Unfortunately I’m not able to reproduce in my end.
    Which PHP version are you using?

    In addition and is possible for you, please try commenting or removing the code below from https://www.yory.nl/wp-content/plugins/publishpress-checklists/modules/checklists/assets/js/meta-box.js

    if (PP_Checklists.is_gutenberg_active() && PP_Checklists.is_published() !== true) {
        $(document).on(PP_Checklists.EVENT_TIC, function (event) {
            var has_unchecked_block = $('#pp-checklists-req-box').children('.status-no.pp-checklists-block');
            if (has_unchecked_block.length > 0) {
                wp.data.dispatch( 'core/editor' ).lockPostSaving( 'ppcPublishButton' );
            } else {
                wp.data.dispatch( 'core/editor' ).unlockPostSaving( 'ppcPublishButton' );
            }
        });
    }

    Then refresh, clear cache and see if the issue is gone.

    Regards

    Thread Starter yolandal

    (@yolandal)

    I’m using PHP-versie: 7.4.24

    I’ve commented the code, and it seems that works!!!
    I hope it won’t be overruled after a next update?

    Thanks!
    Yolanda

    Plugin Support htmgarcia

    (@htmgarcia)

    Thanks for the confirmation @yolandal !

    Thread Starter yolandal

    (@yolandal)

    Hello again,
    Sorry to mention that the problem is back. The publish button is greyed out.
    I’ve copied the code again and want to edit it to my snippets plugin.
    But I’m getting a PHP error message now.

    What can be the solution to fix this also after future updates?

    Thank you,
    Yolanda, NL

    Plugin Support htmgarcia

    (@htmgarcia)

    Hi @yolandal,
    may you try the same solution in the meanwhile: https://www.ads-software.com/support/topic/last-update-disables-the-publish-button-2/#post-15100415

    This issue is in our to-do list, however is tricky to even reproduce.

    Regards

    Thread Starter yolandal

    (@yolandal)

    Hello,

    Yes, the thread you link to is a thread I started.
    I’ve done this solution again, but I’m sure it will be overwritten at a next update.
    if you want I can give you an admin account to check my plugins and you can investigate etc?
    But if so, please don’t change the theme!

    Thank you!
    And besides this bug, I really LOVE the Checklist plugin ??

    Yolanda, NL

    Plugin Author Steve Burge

    (@stevejburge)

    Hi @yolandal

    That is a service we provide for our Checklists Pro members.

    However, even if wanted to, asking for admin access is banned here on www.ads-software.com.

    Thread Starter yolandal

    (@yolandal)

    Hello Steve,

    Just to notify you: Unfortunately the problem is back again, and the workaround mentioned earlier is not working anymore.
    Can you help out?

    Thank you,
    Yolanda, NL

    • This reply was modified 2 years, 10 months ago by yolandal.
    • This reply was modified 2 years, 10 months ago by yolandal.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Last update disables the Publish button’ is closed to new replies.