Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).
I have tried renaming the plugins and the themes and that doesn’t do anything. For some reason WordPress keeps doing some kind of secret updating and breaks it self. I believe I have set the settings for it to STOP doing that. However, the setting must not really be 100%.
I believe the file it is complaining about is WordPress proper and not any plug-in or theme.
/wp-includes/sodium_compat/autoload.php’ (include_path=’.;C:\php\pear’) in C:\Domains\comcity.com\wwwroot\wp-includes\compat.php on line 333
Just to be clear, did you try resetting plugins and themes while it was broken?
I ask because it sounds like WP is upgrading, probably to 5.9, and something isn’t compatible with that.
Yes, while broken. No effect or change.
I don’t want it to upgrade to 5.9. It needs to stop. I believe I have set the wpconfig for it to stop doing that. So I’m not sure HOW it is self upgrading anymore. No software on earth should “self-upgrade” and I know of no software besides WP that does it. Even my iPhone warns me and allows me to delay and that is about the worse case before that I am aware of.
WordPress itself does not upgrade major versions (5.8 to 5.9) automatically unless you’ve configured that with a plugin, your hosting provider, or fully manually: https://wordpress.org/support/article/configuring-automatic-background-updates/
As-is, WordPress only automatically upgrades minor updates (5.8 to 5.8.1), which strictly include only bug and security fixes.
So, you’ll need to sort out why WordPress is automatically taking you from 5.8 to 5.9.
As for the problem you encounter under 5.9, what version of PHP are you running?
The error is a path for a windows machine. It basically says it can’t find the file on your server. You might want to talk to your hosting company. Your hosting company might be upgrading to the newest version. Even still it should be able to resolve the path to your files.
Thanks for your reply.
I am the host. The first is getting erased by some function of WordPress, a plugin, or a theme.
I disabled a number of other plugins. One was a Legacy Ninja Forms (it might have been that one). So far, so good. The site has remained up for longer than I can remember and over 8 hours at this point.
I am running a lower version of PHP. I tried going to later version of PHP 7.4 and it didn’t stop the problem. I decided to go back to an older version that was working tried and true for now so as to not add additional variables.
PHP 7.4 or higher is recommended, but PHP 5.6.20 or higher is the minimum requirement: https://wordpress.org/about/requirements/
So, as long as you’re higher than 5.6.20, maybe it was that older Ninja Forms plugin.