In order to fix backend errors in wordpress, we need to track those issues in somewhere.
There is an option to implement this functionality in wordpress, but we need to setup some configuration for it.
Please add the following configuration setting in wp-config.php when you need to track the backend errors in wordpress.
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DEBUG_LOG', true);
@ini_set('display_errors', 0);