I found the problem. My PHP was updated and the max_execution_time
setting was reset to 30 seconds, which wasn’t enough for SiteCheck to completely scan the site. When I increased the execution time to somewhere above 120 seconds, the problem was fixed.