How can I disable a plugin in Health Check mode if there’s a critical error?
How can I disable a plugin in Health Check mode if there’s a critical error?
How can I disable a plugin in Health Check mode if there’s a critical error?
Access “wp site health info” data from plugin
WP_HOME (and WP_URL) are undefined
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 … Read more
I was facing same issue. I replaced the code session_start(); with if (!isset($_SESSION)) { session_start([‘read_and_close’ => true]); } and it worked for me.
You should be able to filter out some tests by using the filter site_status_tests Quoting the WordPress documentation: Usage: add_filter(‘site_status_tests’, function (array $test_type) { unset($test_type[‘direct’][‘theme_version’]); // remove warning about Twenty* themes unset($test_type[‘async’][‘background_updates’]); // remove warning about Automatic background updates return $test_type; }, 10, 1); You can get the list of tests from the WP_Site_Health->get_tests() method … Read more
The following snippet removes the registered site health dashboard widget from the dashboard. Add the code to your plugin or functions.php file: add_action(‘wp_dashboard_setup’, ‘remove_site_health_dashboard_widget’); function remove_site_health_dashboard_widget() { remove_meta_box(‘dashboard_site_health’, ‘dashboard’, ‘normal’); }