Site logo

Archived topic

A plugin has prevented updates by disabling wp_version_check().

6 replies · Started by Terry on May 18, 2020

Viewing posts 1–7 of 7

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

Hi there,

Not sure if I fully understand.

Where are you seeing that error?

What happens if you disable GP Premium?

Hi there,

So it only happens with the "Elements" module activated?

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

> 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

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.

Glad you got it sorted! :)

This archived topic is closed to new replies.