To troubleshoot WordPress errors, you require to enable WordPress Debug, which can be done using wp-config.php.
You need to copy and paste the code in wp-config.php file shown below.
define( 'WP_DEBUG', true );
How To Debug And Log Errors In WordPress Site