Site Health : An active PHP session was detected

I'm new in WordPress development and I just created my first theme. In my wp-admin, the "Site Health" tells me that a PHP session has been detected (critical error), here is the message : A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests. I need PHP's $_SESSION for a theme script, and I added this to my functions.php file …
Category: Web

Wordpress "Site Health Status" trust it or myself for its security advice?

I'm using WordPress to host a few sites. Lately it includes this feature called Site Health Status. This information has in part been valuable, but it also itches me the wrong way somehow that I can't get it to show "green" due to something I'd consider non-issues Here is how the "critical issue" looks. Here's the relevant text excerpt, because search engines aren't all too good with indexing text from screenshots: 1 critical issue Background updates are not working as …
Category: Web

WP_HOME (and WP_URL) are undefined

My site's working, but there's a "cannot complete a loopback request" error in the (dashboard) Tools/Site_Health window I'm tracking down. My installation is in a subdirectory on my server: /home/public_html/my-site/wordpress I have, in my (dashboard) Settings/General window: WordPress Address (URL) https://my-site/wordpress and Site Address (URL) https://my-site BUT: this doesn't agree with the WordPress Constants listed in the (dashboard) Tools/Site_Health (info) window: ABSPATH /home/public_html/my-site/wordpress/ and WP_HOME Undefined and WP_SITEURL Undefined Any clues as to how to make WordPress "globally aware" of …
Category: Web

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 …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.