Critical Site Health Issue after WordPress Migration

I recently migrated a WordPress install from a shared managed host (cPanel) to a VPS. I first installed WordPress on the new server, then installed Migrate Guru and then migrated the install over to the new server.

Everything worked really well, there is just one issue. When I look at the “Site Health” tab I get the following “Critical Issue”:

“A plugin has prevented updates by disabling wp_version_check().”

This is the only critical issue the WordPress install shows and it wasn’t there before the migration.

What I tried so far to fix it without success:

  1. Cleared the install and repeat the migration
  2. Deactivated all plugins
  3. Deleted all plugins
  4. Switched to a basic twenty theme
  5. Installed “Health Check & Troubleshooting” and activated the troubleshooting feature

None of this helped, it still shows them same error. My new host looked into it and said that they’ve cross checked the possible logs and syntax of the web application in regards with the error shown in the site health tab but weren’t able to find any error based on the event.

EDIT:
I added the plugin WP Control to see if I can run wp_version_check() manually and I couldn’t. Other cron events like wp_update_plugins also “Failed to execute” when I tried running them manually.

I added the following line to the wp-config file:
define(‘ALTERNATE_WP_CRON’, true)

Now running those cron events manually worked. However, the initial site health issue still persists.

Next I removed the above line from the wp-config file and now the critical site health issue is gone, but two new critical site health issues show:

“The REST API encountered an error”

and

“Your site could not complete a loopback request”

Both show the following error in the description:

“Error: cURL error 28: Operation timed out after 10000 milliseconds… (http_request_failed)”

EDIT:
Now, without changing anything the two new Site Health issues disappear and the old one is back:
“A plugin has prevented updates by disabling wp_version_check().”

3 Answers
3

This might not be the issue, but I would install the All In One WP Security & Firewall plugin by “Tips and Tricks HQ” and use that plugin the check your file and directory permissions. Often times file permissions or also file ownership gets messed up in migrations. Seeing as you have deleted all plugins and are running the stock twenty something theme, it might be giving you a false error. Also, you could try reinstalling WP Core. That might help too. Just a thought.

Leave a Comment