• Hello,

    The Site Health in my WordPress dashboard is warning me Could not confirm that the wp_version_check() filter is available.

    Please, how to fix this error?

    any advice is welcome.

    Rgs

    IM

Viewing 11 replies - 1 through 11 (of 11 total)
  • Anonymous User 17440952

    (@anonymized-17440952)

    Hi!
    Check the plugins, perhaps somewhere there is a security plugin that blocks the verification and installation of WP updates. And if possible, please show a screenshot to make it easier to understand the problem

    Regards,

    Thread Starter itmonitor

    (@itmonitor)

    Hello, thank you for your reply. There is no security plugin installed in WordPress. Here you have a screenshot, hope it helps https://tinyurl.com/vru376m

    Latest curl is installed in the server curl-7.29.0-54.el7_7.2.x86_64.

    • This reply was modified 4 years, 6 months ago by itmonitor.

    I have always received the

    
    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 (http_request_failed)
    

    message since Site Health was a thing. Since my blog works fine I’ve just ignored it. I suspect it’s related to the webhost having allow_url_fopen set to false or some other related security setting. The other part I can’t comment on since I have automatic updates disabled. So, that part of the test always complains about that.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    @markrh Your issue is somewhat different than the OP’s, however it is a legitimate problem that you should not ignore. Loopbacks not functioning will prevent many things from working. Update checks, scheduled posts, pingbacks, media processing for feeds, etc. It will also prevent the plugin and theme editors from functioning correctly. As your message says that you have a 10 second timeout, then that suggests that either your server has DNS incorrectly configured, or it prevents loopback connections through a misconfiguration of the routing, or you have a plugin installed which is incorrectly calling the session_start() function indiscriminately.

    Regardless, please start your own thread to solve your problem.

    @itmonitor Your issue is likely a different problem, since it checks for loopback errors differently. Here, it is saying that the wp_version_check() function is disconnected from the update system. This is a very strong indication that you have add-on code, like a plugin or a theme, which is intentionally blocking updates. You should switch to the default theme and turn off plugins until the error goes away, then turn things back on one by one until you find out which plugin or theme is causing the problem.

    I found the cause of my issue. It was indeed a session_start() I had in my theme’s functions.php for some reason (perhaps in the past needed it to set session variables). That solved the loopback and REST API failures.

    Thread Starter itmonitor

    (@itmonitor)

    @otto42 thank you will do it and post here the results. @markrh thank you for posting your solution.

    Hello,

    The Site Health in my WordPress dashboard is warning me Could not confirm that the wp_version_check() filter is available.

    Please, how to fix this error?

    @markrh could you please share the code you used in your theme? i have same problem

    @diego1ua1 As I mentioned previously, I took out a session_start(); statement at the top of my child theme’s function.php that I had put in there a long time ago. So, I removed code, not added code.

    Ana

    (@anurhngmailcom)

    My child theme do not have session_start() statement at top.
    How can I resolve it?

    I have the same issue. I am using customify theme.. there is no kind of code in functions.php

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fix Could not confirm that the wp_version_check() filter is available.’ is closed to new replies.