#59300 closed defect (bug) (invalid)
Site Health Check causes PHP errors when WP_CONTENT_DIR . '/upgrade/' doesn't exist
| Reported by: | MadtownLems | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Site Health | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
My error logs are filling with the following errors:
disk_free_space(): No such file or directory
from class-wp-site-health.php, Line 1944 (WordPress 6.3.1)
(I saw a few other tickets around disk_free_space() and 6.3, but nothing specifically about this.)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I cant reproduce the Problem.
The @ supresses errors, but this can be overwritten by using a custom error handler. https://www.php.net/manual/en/language.operators.errorcontrol.php
Are you using plugins or a special enviroment changes the logging / error handling behavior?
And does the error log show the error level? Like:
Warning:disk_free_space(): No such file or directory