Post/Page Publish/Update button not clickable once I make an edit

I open a page and make an edit and the update button becomes grayed out. I have to copy all page content, refresh the page and paste it back in the page, only then does the update button become clickable. It does update the page so there is no issue with that.

Only when making the initial edit is in not clickable.

Read More

Update: I was able to recreate the issue, but not faithfully. It seems to occur when the page is trying to auto save. It would begin to autosave and then hang.

I don’t even know where to begin with this one. Has anyone encountered something similar?

Related posts

6 comments

  1. It appears to be a bug, but one that can be hacked around each time it happens with about 2 seconds of work. This wordpress forum thread:

    If you’re using Chrome, right-click on the greyed-out “Update” button
    and select “Inspect Element”. You will see something to the likes of:

    <input name="save" type="submit" class="button button-primary
    button-large disabled" id="publish" accesskey="p" value="Update">

    Just delete the word disabled and the update button will become
    clickable again. Click it and it should update.

    Saved me reloading and losing work.

    See also this less resolved thread.

  2. Once I realized it was an issue related to the Page/Post autosave, and not something to do with pasting the data from a text editor, I disabled all plugins to determine if that would be the cause. Disabling the plugins did not seem to have an effect.

    No errors were reported in the browser error console.

    I manually updated the WordPress installation and this seems to have fixed the issue. Unfortunatley I do not understand why, none of the files replaced were ever edited by me.

  3. I registered a function in the save_post hook via

    add_action('save_post', 'my_function', 10, 3);
    

    In the function itself I did nothing, except logging for testing reasons, and the button still became disabled, once the autosave (and my function was triggered).

    My function was also called peridodically ~20-30s according to the logs.

    I deregisterd my function and the button worked flawlessly again.

    It turned out, the logging to error_log/syslog itself was the problem.
    When I disabled my custom log function, my code and the registered function worked, and the button never became disabled again.

  4. This problem is often due to a sucuri firewall perceiving your actions as malicious. If you have a sucuri firewall either directly or through some other provider, you need to whitelist your IP address and the problem will end.

  5. Regarding the grayed out Update button, it is often the result of a sucuri firewall viewing your changes as malicious and my problem was resolved once I clicked on a URL supplied by sucuri while I was logged into my site which whitelisted my IP address so that the grayed out Update button would no longer happen. I suggest you contact sucuri or the vendor that uses sucuri to provide your firewall and ask to get your IP address whitelisted.

  6. I have the same issue. I inspected JavaScript and deleted aria-disabled="true" . The button was activated but still I couldn’t save the page.

    Luckily, I figured how to work around the issue and could save the page.
    First, I “saved it as draft”. Then, went to “Pages” on Dashboard. I could convert the page to “Published” via the “Quick Edit” link.
    If anybody still cannot save the page, try it.

Comments are closed.