Most web hosting solutions deliver access to enable the website error log by way of an admin dashboard. For WordPress sites, you could allow error logging by incorporating the next strains towards your wp-config.php https://woracious.com/seo/ramifications-of-the-504-error-on-seo/