The errors your website generates are stored in the PHP Error Log on your hosting account. PHP functions, misconfigured, malformed, or incompatible plugins, themes, or scripts can also cause errors. All these errors, along with what caused them, are logged in the error log.
PHP Error Log
- Go to cPanel > File Manager.
- Navigate to the
public_htmldirectory.public_htmlis the root directory of your primary domain.
The root directory is different for other domains and subdomains. You can view the root directories in cPanel > Domains. - Select the
error_logfile. - Click "View" from the top menu.
It contains PHP errors, the file paths of the PHP scripts, and the PHP functions that caused the errors. This information should give you a good idea of what is causing the errors.
Update the offending plugin, theme, or PHP script to their publicly available latest stable versions, downloaded from their original sources. Or, disable it.
If that does not solve the error, contact the devs of the offending plugin, theme, or PHP script for support.
