[Resolved] A plugin has prevented updates by disabling wp_version_check().

Home Forums Support A plugin has prevented updates by disabling wp_version_check().

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1290537
    Terry

    Hi, I’m getting the above error in Health Check, with Generatepress

    It disappears if I switch to the default 2020 wordpress theme.

    The message remains if I disable “Elements” It also remains if I disable all plugins.

    Any ideas or troubleshooting hints?

    Thanks!

    Terry

    #1290560
    Leo
    Staff
    Customer Support

    Hi there,

    Not sure if I fully understand.

    Where are you seeing that error?

    What happens if you disable GP Premium?

    #1290588
    Terry

    It shows up here: https://www.terrys-service.com/wp-admin/site-health.php

    Disabling GP Premium has no effect.

    Switching from GeneratePress to the WordPress Twenty Twenty theme makes the message go away.

    #1290921
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    So it only happens with the “Elements” module activated?

    If so, what if you temporarily Draft any published Elements?

    #1290972
    Terry

    > So it only happens with the “Elements” module activated?

    * It does it if the Elements plugin is active and all the individual elements are active
    * It does it if the Elements plugin is active and all the individual elements are set to “draft”
    * It does it if the Elements plugin deactivated
    * It does not do it if I switch to the WordPress TwentyTwenty theme.

    I tried to get additional error logging by adding

    define( ‘WP_DEBUG’, true);
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, true );

    to wp-config.php but it doesn’t seem to do anything. I’m not getting any error.log file and no onscreen error messages.

    I’m pretty good with PHP but not so good with WordPress internals. If you have any idea where/what I can check, I’d appreciate it.

    Thanks,

    Terry

    #1291770
    Terry

    It was a bogus error message. I had added some code to the end of functions.php, which had nothing to do with wp_version_check.

    I removed the code and everything is happy again.

    #1292276
    Tom
    Lead Developer
    Lead Developer
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.