Most web hosting products and services give usage of permit the web site error log through an admin dashboard. For WordPress sites, you can allow error logging by introducing the next traces for your wp-config.php https://woracious.com/seo/ramifications-of-the-504-error-on-seo/