Me again. I’ve figured out that session_write_close() doesn’t work because of some conflict with the Wordfence plugin. I was able to use session_write_close() successfully on my dev site that does not have Wordfence installed. Installing Wordfence on the dev site created the same warning in “site health.” Only when I deactivated Wordfence, deleted it, and removed all of the tables it left behind in wp_options did the warning message go away. Any ideas about why this might be and any possible workaround? I’d prefer not to get rid of Wordfence on the production site if I can avoid it.