Score:0

Wordpress on IIS crashes intermittently

kz flag

My wordpress site running on IIS has been crashing every once in a while with "There has been a critical error on your website" If I restart IIS or the AppPool, it starts working again. It's a pretty basic wordpress site, just a few basic plugins

When I look at the php error log I find this:

[11-Jun-2021 05:05:56 UTC] PHP Warning:  require_once(C:\inetpub\wwwroot\wp-includes\s): failed to open stream: No such file or directory in C:\inetpub\wwwroot\wp-includes\sodium_compat\autoload.php on line 40
[11-Jun-2021 05:05:56 UTC] PHP Fatal error:  require_once(): Failed opening required 'C:\inetpub\wwwroot\wp-includes\sodium_compat/src/SodiumException.php' (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\wp-includes\sodium_compat\autoload.php on line 40

It says it fails opening the file, but the file does exist, and I can open it. I thought the different slashes in the filename might be the problem, but I can copy and paste that exact path into the Run prompt and it opens fine.

At the time of the problem, available memory seems fine, and not noticing any traffic spikes.

Windows Server 2019 datacenter w/ 2GB RAM
IIS 10.0
MySql 5.7.31
Wordpress 5.5.5
Php 7.3.13

What troubleshooting steps would you recommend?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.