• Resolved Einkoro

    (@einkoro)


    Today the following started to occur when updating an existing post – upon clicking publish it redirects to /wp-admin/post.php with the following:

    {“success”:”false”,”error”:{“message”:”Forbidden”}}

    In the plugin’s settings page with both debugging options enabled nothing new is logged since the 2nd when trying to publish edits.

    I also noticed there is over 2000 log entries – is it possible to have a maximum number of entries for the log?

    https://www.ads-software.com/plugins/cloudflare-cache-purge/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author shanaver

    (@shanaver)

    That error sounds like your login credentials at Cloudflare might have changed – is that still happening?

    Per the logging, there is no max set but you can delete the entries if you click on ‘Manage Cache Purge Log Entries’

    Thread Starter Einkoro

    (@einkoro)

    I haven’t changed my credentials although I did enable two factor authorization at CloudFlare. I tried regenerating the API token and updating the plugin settings with the new one to see if that made any difference but it is still occurring.

    We’re seeing this on a client site too. Have also tried regenerating API key, with no success.

    We are *not* seeing the issue on other sites (which use a different CloudFlare acccount).

    I just installed the plugin for the first time today and I am getting the same error message when I try to update a post. I’m not sure what to try in order to resolve the issue and would appreciate any feedback.

    I am running WordPress 3.9.1 if that is helpful for debugging.

    Plugin Author shanaver

    (@shanaver)

    That’s weird – something must have changed at CloudFlare. I’ve reached out to them to get some insight.

    In the meantime, I’ve fixed that ajax call so at least it won’t dump that JSON error to the screen. Pull the latest update and that should go away.

    I got the same Forbidden error also.
    Any update?
    Thanks!

    Plugin Author shanaver

    (@shanaver)

    I haven’t been able to reproduce this error – does anyone have any insights?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘JSON error displayed when updating a post’ is closed to new replies.