Support » Plugin: Frontend Post WordPress Plugin - AccessPress Anonymous Post » Plugin is causing Site Health Check Errors

  • This plugin is functioning as expected on my site, but when it, and only it is enabled I get 2 errors when running the site health check.

    1. The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.

    The REST API request failed due to an error.
    Error: [] cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received

    2. Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.

    The loopback request to your site failed, this means features relying on them are not currently working as expected.
    Error: [] cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received

    If I deactivate the plugin the errors are gone. Any suggestions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Thank you for writing in,

    Please check this documentation and follow the instruction kindly to fix your issues.

    Regards!!

    Thread Starter newflyer

    (@newflyer)

    Thanks for your reply.

    The instructions in the link did not help. In my case, this is not a server issue as I have 5 separate wordpress installations using different themes and plugins on the same server. None, other than your plugin cause the errors. I manage the server myself.

    Upon further research, I came across 2 articles that helped. https://wordpress.org/support/topic/plugin-is-blocking-loopback-requests-in-wordpress/ and https://wordpress.org/support/topic/the-loopback-request-to-your-site-failed-4/page/2/ . I modified accesspress-anonymous-post.php as per the 2nd article by replacing session_start() with:

    session_start([
    ‘read_and_close’ => true,
    ]);

    This made the site health check errors disappear and restored my ability to save posts from the backend as well as the frontend. Prior to this modification, I could only save posts from the accesspress anonymous post frontend editor.

    I don’t imagine this is a complete fix and it may cause other issues which I am still evaluating. So far, the only issue I’ve encountered is the confirmation message when a user submits a post from the frontend does not work. This is a serious issue as it provides no user feedback, however, the frontend post submission itself does work as expected.

    Hope that helps and hopefully the issue can be fully resolved in your next update.

    Could you please send an email to support@accesspressthemes.com with your issue our team will be back to you soon

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin is causing Site Health Check Errors’ is closed to new replies.