So your site won’t load and you’re seeing some confusing error messages like this…
Deprecated: Required parameter $ids follows optional parameter $table in /you/wp-content/plugins/user-login-history/inc/common/helpers/class-db.php on line 113
Warning: Cannot modify header information – headers already sent by (output started at you/wp-content/plugins/user-login-history/inc/common/helpers/class-db.php:113) in /you/wp-includes/pluggable.php on line 1083
This kind of thing is happening a lot with the latest versions of PHP 8. An offending plugin or theme is causing your WordPress site to crash because it’s not up-to-date. To fix this, you need to stop it from loading with WordPress.
Use FTP or your hosting provider’s file manager to find the plugin described in the error. Once you locate it, rename the plugin’s folder by adding a single character to the end of the name, such as an underscore. Like this…
Now refresh your WordPress page and it should load without errors.
If you go to the WordPress Plugin page, it will complain that the plugin cannot be loaded. This is good. You can work on the issue and rename it back, or delete it and install a fresh copy. Reverting to PHP 7.4 often will fix the issue.