• Hello,

    I recently installed the Favorites-plugin. It works very well and I like the functionality. However, it’s causing two errors displayed on the WP site-health report:

    1. A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests.
    2. The REST API encountered in error’
      (…)
      Error: cURL error 28: Operation timed out after 10005 milliseconds with 0 bytes received (http_request_failed)

    Wenn I deactivate Favorites the errors are gone, after re-activating it they are there again.

    I’m not familiar with REST-API-calls, but to me – that’s just a guess – it looks there’s a ten-second-time-limit for their execution which might be exceeded by a call.

    Website is hosted on an Apache-webserver on Linux 4.19.0-21-amd64 x86_64 with PHP-Version 8.2.0 (64bit-support).

    Any ideas what might cause the rror and how to fix it?

    Thank you in advance and best regards,
    Oliver

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Rock a Robot!

    (@revilo2020de)

    N.B.: I just realized the errors must be related to the Favorites-settings “Users > Save Unauthenticated Favorites as“-option:

    When set to “Cookie” the errors disappear, when set to “session” they show up again.

Viewing 1 replies (of 1 total)
  • The topic ‘Favorites causing site-health errors’ is closed to new replies.