• Resolved barnettmsiska

    (@barnettmsiska)


    Hi,

    I am getting the error message “Invalid Request” when I add the .htaccess code to my /wp-content directory and run “Re-Check Status” for the Prevent PHP Execution security recommendation.

    I read another thread where it says Cloudflare could be blocking the re-check but I do not have Cloudflare on my server. There is also another site on the same server where everything ran successfully, though.

    There is also something strange that is happening; The Prevent Information Disclosure security recommendation is reappearing after the “Invalid Request” error, even though it run successfully and was cleared previously.

    Please advise,

    Thanks,

    Barnett

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @barnettmsiska

    Sorry to hear you are having this issue.

    Could you please do the following test?

    – Click on right button of mouse
    – Click on inspect
    – Switch to Network tab
    – clear it
    – Try to re-check again
    – Check the admin ajax and click on preview

    Does it return 200 status or any different status?

    This is for another plugin but the steps is similar: https://monosnap.com/file/zV2tGS6ijdIXogOS9Wv8cJhmniK900

    Let us know what you are getting in the network tab.

    Best Regards
    Patrick Freitas

    Thread Starter barnettmsiska

    (@barnettmsiska)

    Hi @wpmudevsupport12,

    I am getting a 200 status in the network tab and the response is as below;

    {“success”:false,”data”:{“message”:”Invalid request”}}

    Thanks and regards,

    Barnett

    Hello @barnettmsiska !

    Thank you for running the additional checks. From what it seems, it may be some security feature that’s being triggered and may be blocking the checks (not the response itself though).

    Can you contact your hosting provider and ask them to investigate and unblock this for you if they find anything of this kind interfering?

    Contacting hosting support may also be a good idea in case the hosting uses a hybrid Apache + nginx setup as the code even if it’s added correctly to Apache may still not go through nginx correctly.

    Warm regards,
    Pawel

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @barnettmsiska,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.

    Best Regards
    Nithin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Invalid Request on Prevent PHP Execution’ is closed to new replies.