• I have had site up and running for a while with a purchased theme on it. All seemed to be fine until I upgraded to 5.0 WP. I am having serious trouble with publishing content. I am desparate. I add text and other content to a page, when I hit preview, publish or save (doesn’t matter which) the word count immediately goes to zero and all my content goes away. So far in order to resolve this issue I have in various combinations:
    -downgraded to 4.9.9
    -turned off visual editor
    -installed and uninstalled Classic Editor plugin
    -addedvdefine(‘WP_DEBUG’, true); to config file – revealed nothing
    -deactivated, uninstalled and reinstalled all my plugins (I currently have 6 active)

    Any help or assistance with this issue would be greatly appreciated. I know others have had this problem and none of their fixes seem to work for me.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator t-p

    (@t-p)

    -deactivated, uninstalled and reinstalled all my plugins (I currently have 6 active)

    Also, please attempt to use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://www.ads-software.com/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    “Health Check” plugin can also tell you if Rest API is working on your site.

    • This reply was modified 6 years, 1 month ago by t-p.
    Thread Starter sheardln

    (@sheardln)

    THanks, I will try that. Hopefully it won’t wipe out all my theme customizations.

    Thread Starter sheardln

    (@sheardln)

    Well, not sure how useful that was for me, but maybe it will help you to figure out what is wrong. I installed the Health plugin and was able to edit and publish pages! ! So obviously something is wrong. I tried to enable the the plugins during the troubleshooting and all gave me this message: “When enabeling this plugin (plugin name) a site failure occurred. Because of this the change was automatically reverted.” Only one plugin enabled during troubleshooting and it didn’t make a difference. I couldn’t figure out how to enable my theme during troubleshooting so I don’t know if that is an issue or not. The only other thing is that my site is very, very, very slow right now -both to load for the user and on the admin end.

    I hope you have something else I can try or a solution. Thanks!

    Thread Starter sheardln

    (@sheardln)

    @t-p
    So I finally was able to work with the Health plugin and saw the Health Check it actually ran. Very, very helpful – can’t believe I missed it. The biggy was the REST API:
    The REST API call gave the following unexpected result: (401) {“code”:”rest_forbidden_context”,”message”:”Sorry, you are not allowed to edit posts in this post type.”,”data”:{“status”:401}}.

    I am logged in as the admin and should have privilege to do everything. Any ideas on how to fix this?
    Thanks!

    Moderator t-p

    (@t-p)

    Have you disabled REST API via a plugin or some code snippet?

    Thread Starter sheardln

    (@sheardln)

    Not intentionally.

    Moderator t-p

    (@t-p)

    Make sure it’s enabled.

    Thread Starter sheardln

    (@sheardln)

    yourdomain.com/?rest_route=/
    Running this with my domain tells me it is enabled.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘text disappears after hit preview, save or publish’ is closed to new replies.