• Resolved Alexandr

    (@scadl)


    Hello. I have WordPress site running 24\7 from my own hosting more than 7 years.

    Naturally I searched for the ways to protect my blog, and was really excited with level of security of WordPress IThemes Security plugin. I like it, and created settings for my needs, but recently (I think after update to 8.1, but not sure) it stopped to work right: it doesn’t save and apply any settings with error “The response is not a valid JSON response.” I think it has something with my API key, because when I first time installed this plugin I had free second level domain with only HTTP support, while now I have first level domain with always turned on HTTPS.

    Because I use free version of iThemes Security, I don’t have account on their system, so I can’t change domain bounded to my api key, and I can’t request new one, even if I reinstall plugin, because error persist on any of plugin setting pages, while the rest of plugins and WordPress itself saves settings without problems (even jetpack and akimest).

    Hope, someone can explain me how I can change my API key or bind new domain to it, or at least tell me how to find a reason of this common error in this case.

    • This topic was modified 2 years, 1 month ago by Alexandr.
    • This topic was modified 2 years, 1 month ago by Alexandr. Reason: format
    • This topic was modified 2 years, 1 month ago by Alexandr.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @scadl, thank you for reaching out. Could you please try reaching out to your hosting provider and have them allow all the REST HTTP methods and see if it helps? These are the REST HTTP methods: GET, POST, PUT, PATCH, DELETE and OPTIONS.

    Thread Starter Alexandr

    (@scadl)

    My hosting, as wrote, is my own manually built server,
    My WordPress site running on IIS 10.0 with PHP 7.4.1 via fast-cgi and mysql 10.4 db.
    Can you guide me how can I check if I have configured these REST HTTP methods on my IIS?

    Plugin Support chandelierrr

    (@shanedelierrr)

    @scadl Unfortunately, I’m not entirely familiar with where you can allow the HTTP methods on IIS. Could you please browse through these articles and see if it helps?
    -https://support.deskpro.com/en-US/kb/articles/configuring-http-verbs-on-windows-iis
    -https://stackoverflow.com/questions/48188895/asp-net-core-with-iis-http-verb-not-allowed
    -https://inthetechpit.com/2019/02/24/enable-put-and-delete-http-verbs-for-webapi-with-cors-on-iis-8-5/

    Please let me know how it goes.

    Thread Starter Alexandr

    (@scadl)

    @shanedelierrr thank you a lot! The manual from the first of your links helped, and everything worked now like a charm, even my old settings suddenly appeared on plugin’s config pages. I did had only GET and POST method allowed by default…

    Plugin Support chandelierrr

    (@shanedelierrr)

    @scadl thank you for confirming, and I’m delighted to hear that the articles helped!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“The response is not a valid JSON response” at saving any settings in plugin’ is closed to new replies.